Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Get the next value for a positive number : next « Number « Ruby
Ruby
Number
next
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