2020-05-17 ぼっち演算子 &. オブジェクトがnilの場合でも例外を発生されなくできる。 user = User.new(name: "名前") object = nil object&.name => nil object.name => (中略)NoMethodError