Module: TZInfo::Format2::TimezoneIndexDefinition Private
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
| Defined in: | lib/tzinfo/format2/timezone_index_definition.rb |
Overview
The format 2 time zone index file includes TimezoneIndexDefinition,
which provides the timezone_index method used to define the index.
Class Method Summary
-
.append_features(base)
Internal use only
Adds class methods to the includee and initializes class instance variables.
Class Method Details
.append_features(base)
Adds class methods to the includee and initializes class instance variables.
# File 'lib/tzinfo/format2/timezone_index_definition.rb', line 15
def self.append_features(base) super base.extend(ClassMethods) base.instance_eval do empty = [].freeze @timezones = empty @data_timezones = empty @linked_timezones = empty end end