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