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