Class: ISO3166::Configuration
- Inherits:
-
Object
- Object
- ISO3166::Configuration
- Defined in:
- lib/countries/configuration.rb
Instance Attribute Summary collapse
-
#loaded_locales ⇒ Object
Returns the value of attribute loaded_locales.
-
#locales ⇒ Object
Returns the value of attribute locales.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 |
# File 'lib/countries/configuration.rb', line 22 def initialize @locales = default_locales @loaded_locales = [] end |
Instance Attribute Details
#loaded_locales ⇒ Object
Returns the value of attribute loaded_locales.
20 21 22 |
# File 'lib/countries/configuration.rb', line 20 def loaded_locales @loaded_locales end |
#locales ⇒ Object
Returns the value of attribute locales.
20 21 22 |
# File 'lib/countries/configuration.rb', line 20 def locales @locales end |