Method: ActiveSupport::TimeZone#today
- Defined in:
- activesupport/lib/active_support/values/time_zone.rb
#today ⇒ Object
Returns the current date in this time zone.
521 522 523 |
# File 'activesupport/lib/active_support/values/time_zone.rb', line 521 def today tzinfo.now.to_date end |