Class: CountriesRu::Country
- Inherits:
-
Struct
- Object
- Struct
- CountriesRu::Country
- Defined in:
- lib/countries_ru/country.rb
Instance Attribute Summary collapse
-
#alpha2 ⇒ Object
Returns the value of attribute alpha2.
-
#alpha3 ⇒ Object
Returns the value of attribute alpha3.
-
#english ⇒ Object
Returns the value of attribute english.
-
#fullname ⇒ Object
Returns the value of attribute fullname.
-
#iso ⇒ Object
Returns the value of attribute iso.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_precise ⇒ Object
Returns the value of attribute location_precise.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#alpha2 ⇒ Object
Returns the value of attribute alpha2
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def alpha2 @alpha2 end |
#alpha3 ⇒ Object
Returns the value of attribute alpha3
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def alpha3 @alpha3 end |
#english ⇒ Object
Returns the value of attribute english
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def english @english end |
#fullname ⇒ Object
Returns the value of attribute fullname
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def fullname @fullname end |
#iso ⇒ Object
Returns the value of attribute iso
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def iso @iso end |
#location ⇒ Object
Returns the value of attribute location
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def location @location end |
#location_precise ⇒ Object
Returns the value of attribute location_precise
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def location_precise @location_precise end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/countries_ru/country.rb', line 2 def name @name end |