Class: Ibanify::Countries
- Inherits:
-
Object
- Object
- Ibanify::Countries
- Defined in:
- lib/ibanify/countries.rb
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(countries = {}) ⇒ Countries
constructor
A new instance of Countries.
Constructor Details
#initialize(countries = {}) ⇒ Countries
Returns a new instance of Countries.
3 4 5 |
# File 'lib/ibanify/countries.rb', line 3 def initialize(countries = {}) @countries = countries end |
Instance Method Details
#[](key) ⇒ Object
7 8 9 |
# File 'lib/ibanify/countries.rb', line 7 def [](key) @countries[key] end |