method

succ

Importance_1
v1_9_1_378 - Show latest stable - 0 notes - Class: Fixnum
succ() public

Returns the Integer equal to int + 1.

1.next      #=> 2
(-1).next   #=> 0
Show source
Register or log in to add new notes.