Sha256: 7845db92bc676779de9ddb7a01aec6cff698479ead3b58f74429a3faa53b22a0

Contents?: true

Size: 1018 Bytes

Versions: 42

Compression:

Stored size: 1018 Bytes

Contents

# encoding: UTF-8

module TZInfo
  module Format1
    # {Format1::TimezoneDefinition} is included into format 1 time zone
    # definition modules and provides the methods for defining time zones.
    #
    # @private
    module TimezoneDefinition #:nodoc:
      # Adds class methods to the includee.
      #
      # @param base [Module] the includee.
      def self.append_features(base)
        super
        base.extend(Format2::TimezoneDefinition::ClassMethods)
        base.extend(ClassMethods)
      end

      # Class methods for inclusion.
      #
      # @private
      module ClassMethods #:nodoc:
        private

        # @return the class to be instantiated and yielded by
        # {Format2::TimezoneDefinition::ClassMethods#timezone}.
        def timezone_definer_class
          TimezoneDefiner
        end
      end
    end
  end

  # Alias used by TZInfo::Data format1 releases.
  #
  # @private
  TimezoneDefinition = Format1::TimezoneDefinition #:nodoc:
  private_constant :TimezoneDefinition
end

Version data entries

42 entries across 38 versions & 19 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
mlh-rubocop-config-1.0.2 vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
fablicop-1.10.3 vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definition.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb