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

instance method Numeric#to_int

to_int -> Integer[permalink][rdoc]

self.to_i と同じです。