Class: Daru::NegativeDateOffset
Instance Method Summary collapse
- #+(date_time) ⇒ Object
- #-(date_time) ⇒ Object
-
#initialize(offset) ⇒ NegativeDateOffset
constructor
A new instance of NegativeDateOffset.
Constructor Details
#initialize(offset) ⇒ NegativeDateOffset
Returns a new instance of NegativeDateOffset.
70 71 72 |
# File 'lib/daru/date_time/offsets.rb', line 70 def initialize(offset) @offset = offset end |