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