Method: TZInfo::Timezone#current_period
- Defined in:
- lib/tzinfo/timezone.rb
#current_period ⇒ TimezonePeriod
Returns the current TZInfo::TimezonePeriod for the time zone.
997 998 999 |
# File 'lib/tzinfo/timezone.rb', line 997 def current_period period_for(Time.now) end |