instance method
since
Ruby on Rails 8.1.2
Since v3.0.20Signature
since(seconds)
Returns a new Time representing the time a number of seconds since the instance time
Parameters
-
secondsreq
Source
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 225
def since(seconds)
self + seconds
end
Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 225
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Time