instance method
past?
Ruby on Rails 5.2.8.1
Since v2.2.3Signature
past?()
Returns true if the current object’s time is in the past.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 236
def past?
utc.past?
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 236
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone