Module: TZInfo::Format1::TimezoneIndexDefinition

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb

Overview

The format 1 TZInfo::Data time zone index file includes TimezoneIndexDefinition, which provides methods used to define time zones in the index.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object

Adds class methods to the includee and initializes class instance variables.

Parameters:

  • base (Module)

    the includee.



15
16
17
18
19
20
21
22
23
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb', line 15

def self.append_features(base)
  super
  base.extend(ClassMethods)
  base.instance_eval do
    @timezones = []
    @data_timezones = []
    @linked_timezones = []
  end
end