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
Menu
Chain calls of next together : next « String « Ruby
Ruby
String
next
Chain calls of next together
"0"
.next.next.next # =>
"3"
Related examples in the same category
1.
Call next function from string class
2.
string.next adds a character when it reaches a boundary, or adds a digit or decimal place when appropriate
3.
Call next function on returning result from reverse
4.
string.next is based on the character set in use
5.
next works for numbers represented as strings
6.
number.next
7.
next method from Integer.