The range object class. See Range Expressions for more information.
This method is mostly used for comparison within case statements. Returns true if other is within range.
Returns the initial element.
Iterates over each element within the range.
Returns the end point, regardless of whether the range object is inclusive of the end point.
p (1..5).end # => 5 p (1...5).end # => 5
Returns true if the range object is exclusive of the end point.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |