method
minus_with_duration
v3.2.13 -
Show latest stable
- Class:
Date
minus_with_duration(other)public
No documentation available.
# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 96
def minus_with_duration(other) #:nodoc:
if ActiveSupport::Duration === other
plus_with_duration(-other)
else
minus_without_duration(other)
end
end