= private = protected
ago(time = ::Time.current)
Calculates a new Time or Date that is as far in the past as this Duration represents.
# File activesupport/lib/active_support/duration.rb, line 69 def ago(time = ::Time.current) sum(-1, time) end