Method: ActiveSupport::TimeWithZone#past?

Defined in:
lib/active_support/time_with_zone.rb

#past?Boolean

Returns true if the current object’s time is in the past.

Returns:

  • (Boolean)


255
256
257
# File 'lib/active_support/time_with_zone.rb', line 255

def past?
  utc.past?
end