Get the next value for a positive number : next « Number « Ruby






Get the next value for a positive number

1.next # => 2

 

Related examples in the same category

1.Next from 2008 as an integer
2.Get the next from a negative number
3.next number of 999