123456789_123456789_123456789_123456789_123456789_

Module: TZInfo::Format1::CountryIndexDefinition Private

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

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.

Parameters:

  • base (Module)

    the includee.

[ GitHub ]

  
# File 'lib/tzinfo/format1/country_index_definition.rb', line 16

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