Parent

Methods

Range

Public Instance Methods

+(amount) click to toggle source
# File lib/scrubyt/utils/ruby_extensions.rb, line 43
def +(amount)
 (self.begin + amount)..(self.end + amount)
end
-(amount) click to toggle source
# File lib/scrubyt/utils/ruby_extensions.rb, line 47
def -(amount)
 (self.begin - amount)..(self.end - amount)
end
<=>(other) click to toggle source
# File lib/scrubyt/utils/ruby_extensions.rb, line 39
def <=>(other)
  self.begin <=> other.begin
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.