Method: Date#-
- Defined in:
- lib/when_exe/core/duration.rb
#-(other) ⇒ Object
46 47 48 49 50 51 52 |
# File 'lib/when_exe/core/duration.rb', line 46 def -(other) case other when When::TM::Duration ; self - other.rational_duration when When::TimeValue ; self._minus_(other.to_date_or_datetime) else ; self._minus_(other) end end |