Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > class Integer > next

instance method Integer#next

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

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