instance method
future?
Ruby on Rails 4.0.13
Since v4.0.13Signature
future?()
Returns true if the date/time is in the future.
Source
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 34
def future?
self > self.class.current
end
Defined in activesupport/lib/active_support/core_ext/date_and_time/calculations.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateAndTime::Calculations