このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.1.0 リファレンスマニュアル

instance method Integer#ceil

to_i -> self[permalink][rdoc]
to_int -> self
floor -> self
ceil -> self
round -> self
truncate -> self

self を返します。

例:

10.to_i   # => 10