Module: TZInfo::Format1::CountryIndexDefinition
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb
Overview
The format 1 TZInfo::Data country index file includes CountryIndexDefinition, which provides a country method used to define each country in the index.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.append_features(base) ⇒ Object
Adds class methods to the includee and initializes class instance variables.
Class Method Details
.append_features(base) ⇒ Object
Adds class methods to the includee and initializes class instance variables.
16 17 18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb', line 16 def self.append_features(base) super base.extend(ClassMethods) base.instance_eval { @countries = {} } end |