Module: TimeCrisis::TZInfo::TimezoneIndexDefinition
- Included in:
- Indexes::Timezones
- Defined in:
- lib/time_crisis/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
-
.append_features(base) ⇒ Object
:nodoc:.
Class Method Details
.append_features(base) ⇒ Object
:nodoc:
6 7 8 9 10 11 12 13 14 |
# File 'lib/time_crisis/tzinfo/timezone_index_definition.rb', line 6 def self.append_features(base) super base.extend(ClassMethods) base.instance_eval do @timezones = [] @data_timezones = [] @linked_timezones = [] end end |