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

instance method NilClass#to_i

to_i -> Fixnum[permalink][rdoc]

0 を返します。