Module: TZInfo::Format1::TimezoneIndexDefinition Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Defined in: | 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.
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/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