instance method
future?
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.0.13Signature
future?()
Tells whether the DateTime object’s datetime lies in the future.
Source
# File activesupport/lib/active_support/core_ext/date_time/calculations.rb, line 26
def future?
self > ::DateTime.current
end
Defined in activesupport/lib/active_support/core_ext/date_time/calculations.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateTime