instance method
past?
Ruby on Rails 7.1.6
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 245
def past?
utc.past?
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 245
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone