module AS::Duration::Operations::DateAndTime
Public Instance Methods
+(other)
click to toggle source
Calls superclass method
# File lib/as/duration/operations.rb, line 5 def +(other) if Duration === other other.since(self) else super end end
-(other)
click to toggle source
Calls superclass method
# File lib/as/duration/operations.rb, line 13 def -(other) if Duration === other other.until(self) else super end end