Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > NilClassクラス > to_h

instance method NilClass#to_h

to_h -> {}[permalink][rdoc]

{} を返します。



nil.to_h   #=> {}