Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Integerクラス > next

instance method Integer#next

next -> Fixnum | Bignum
succ -> Fixnum | Bignum

self の次の整数を返します。

class Integer