Module: ISO3166::Countries
- Defined in:
- lib/iso3166/countries.rb,
lib/iso3166/countries/version.rb
Constant Summary collapse
- VERSION =
"0.3.1"
Class Method Summary collapse
Class Method Details
.data_path ⇒ Object
13 14 15 16 |
# File 'lib/iso3166/countries.rb', line 13 def data_path @data_path || File.join(__dir__, "..", "..", "data", "sample.xml") end |
.data_path=(path) ⇒ Object
22 23 24 25 |
# File 'lib/iso3166/countries.rb', line 22 def data_path=(path) ISO3166::XMLData.reset! @data_path = path end |
.yml_data_path ⇒ Object
18 19 20 |
# File 'lib/iso3166/countries.rb', line 18 def yml_data_path File.join(__dir__, "..", "..", "data", "extended.yml") end |