Module: TZInfo::TimezoneIndexDefinition

Included in:
Indexes::Timezones
Defined in:
lib/tzinfo/timezone_index_definition.rb

Overview

The timezone index file includes TimezoneIndexDefinition which provides methods used to define timezones in the index.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object

:nodoc:



27
28
29
30
31
32
33
34
35
# File 'lib/tzinfo/timezone_index_definition.rb', line 27

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