Sha256: aa900ebd5f7f8b9216d29eccaab3a7080886ac7bd7f5bb662e0f0fb682aec4b5

Contents?: true

Size: 227 Bytes

Versions: 253

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/local_time_zone'

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

Version data entries

253 entries across 253 versions & 4 rubygems

Version Path
eac_ruby_utils-0.117.1 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.69.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.68.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.67.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_ruby_utils-0.117.0 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.67.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.66.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.65.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_ruby_utils-0.116.0 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_ruby_utils-0.115.0 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.65.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_ruby_utils-0.114.0 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.64.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_ruby_utils-0.113.0 lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.63.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.62.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.62.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.61.1 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.61.0 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
eac_tools-0.60.3 sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb