Mega Code Archive

 
Categories / Ruby / Number
 

Get the next value for a positive number

1.next # => 2