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

instance method Numeric#to_int

to_int -> Integer

self.to_i と同じです。

class Numeric