Method: ActiveSupport::TimeWithZone#future?
- Defined in:
- lib/active_support/time_with_zone.rb
#future? ⇒ Boolean
Returns true if the current object’s time is in the future.
280 281 282 |
# File 'lib/active_support/time_with_zone.rb', line 280 def future? utc.future? end |