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