method
plus_with_duration
v4.2.7 -
Show latest stable
- Class:
Time
plus_with_duration(other)public
No documentation available.
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 219
def plus_with_duration(other) #:nodoc:
if ActiveSupport::Duration === other
other.since(self)
else
plus_without_duration(other)
end
end