Method: ActiveSupport::TimeWithZone#today?
- Defined in:
- lib/active_support/time_with_zone.rb
#today? ⇒ Boolean
Returns true if the current object’s time falls within the current day.
261 262 263 |
# File 'lib/active_support/time_with_zone.rb', line 261 def today? time.today? end |