method
minus_with_duration
rails latest stable - Class:
Time
minus_with_duration(other)public
No documentation available.
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 310
def minus_with_duration(other) # :nodoc:
if ActiveSupport::Duration === other
other.until(self)
else
minus_without_duration(other)
end
end