Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Integer > next

instance method Integer#next

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

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