Method: TZInfo::Timezone#current_period

Defined in:
lib/tzinfo/timezone.rb

#current_periodTimezonePeriod

Returns the current TZInfo::TimezonePeriod for the time zone.

Returns:



997
998
999
# File 'lib/tzinfo/timezone.rb', line 997

def current_period
  period_for(Time.now)
end