Class: AreaCodex::Country
- Includes:
- WithAreaCodes
- Defined in:
- lib/area_codex/country.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Country
constructor
A new instance of Country.
Constructor Details
#initialize(name) ⇒ Country
Returns a new instance of Country.
5 6 7 8 |
# File 'lib/area_codex/country.rb', line 5 def initialize(name) @name = normalize(name) super() end |