Method: TZInfo::CountryInfo#initialize
- Defined in:
- lib/tzinfo/country_info.rb
#initialize(code, name) ⇒ CountryInfo
Constructs a new CountryInfo with an ISO 3166 country code and name
12 13 14 15 |
# File 'lib/tzinfo/country_info.rb', line 12 def initialize(code, name) @code = code @name = name end |