Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.0.2) is shown here.
past?()
public
Tells whether the DateTime object’s
datetime lies in the past.
# File activesupport/lib/active_support/core_ext/date_time/calculations.rb, line 21
def past?
self < ::DateTime.current
end