method
since
v1.2.6 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Time::Calculations
since(seconds)public
Returns a new Time representing the time a number of seconds since the instance time, this is basically a wrapper around
the Numeric extension. Do not use this method in combination with x.months, use months_since instead!