Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.455 kb
class Range {
"""
Class of Range values. Are created by using Range literal syntax in Fancy.
Example:
(10..100) # Range from 10 to 100
# the following code does the same as above:
Range new: 10 to: 100
"""
include: Fancy Enumerable
def to_s {
"""
Same as Range#inspect
"""
inspect
}
def inspect {
"""
@return @String@ representation of @self.
"""
"(#{@start}..#{@end})"
}
}
Jump to Line
Something went wrong with that request. Please try again.