Method: TZInfo::Timezone#current_period
- Defined in:
- lib/tzinfo/timezone.rb
#current_period ⇒ Object
Returns the TimezonePeriod for the current time.
542 543 544 |
# File 'lib/tzinfo/timezone.rb', line 542 def current_period period_for_utc(Time.now.utc) end |