rubyいろいろ # 文字列からインデックス str = "abcdefNe" str.index("N") #二次元配列から最小値を探す ary = ] min_data = ary.min_by {|d| d } # ほしいものだけselect(全部何ら... 2022.01.04