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:



27
28
29
30
31
# File 'lib/tzinfo/country_index_definition.rb', line 27

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