Class: Time

Inherits:
Object show all
Defined in:
lib/eac_ruby_utils/patches/time/required_zone.rb

Class Method Summary collapse

Class Method Details

.required_zoneObject



7
8
9
# File 'lib/eac_ruby_utils/patches/time/required_zone.rb', line 7

def required_zone
  zone || ::EacRubyUtils::LocalTimeZone.auto || raise('No zone set or discovered')
end