Module: TZInfo::CountryIndexDefinition

Included in:
Indexes::Countries
Defined in:
lib/tzinfo/country_index_definition.rb

Overview

The 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

Class Method Details

.append_features(base) ⇒ Object

:nodoc:



29
30
31
32
33
# File 'lib/tzinfo/country_index_definition.rb', line 29

def self.append_features(base)
  super
  base.extend(ClassMethods)
  base.instance_eval { @countries = {} }
end