Class: Geonames::Toponym
- Inherits:
-
Object
- Object
- Geonames::Toponym
- Defined in:
- lib/toponym.rb
Instance Attribute Summary collapse
-
#admin_code_1 ⇒ Object
Returns the value of attribute admin_code_1.
-
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
-
#admin_name_1 ⇒ Object
Returns the value of attribute admin_name_1.
-
#admin_name_2 ⇒ Object
Returns the value of attribute admin_name_2.
-
#alternate_names ⇒ Object
Returns the value of attribute alternate_names.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#country_name ⇒ Object
Returns the value of attribute country_name.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#elevation ⇒ Object
Returns the value of attribute elevation.
-
#feature_class ⇒ Object
Returns the value of attribute feature_class.
-
#feature_class_name ⇒ Object
Returns the value of attribute feature_class_name.
-
#feature_code ⇒ Object
Returns the value of attribute feature_code.
-
#feature_code_name ⇒ Object
Returns the value of attribute feature_code_name.
-
#geoname_id ⇒ Object
Returns the value of attribute geoname_id.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
-
#population ⇒ Object
Returns the value of attribute population.
Instance Attribute Details
#admin_code_1 ⇒ Object
Returns the value of attribute admin_code_1.
36 37 38 |
# File 'lib/toponym.rb', line 36 def admin_code_1 @admin_code_1 end |
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
37 38 39 |
# File 'lib/toponym.rb', line 37 def admin_code_2 @admin_code_2 end |
#admin_name_1 ⇒ Object
Returns the value of attribute admin_name_1.
38 39 40 |
# File 'lib/toponym.rb', line 38 def admin_name_1 @admin_name_1 end |
#admin_name_2 ⇒ Object
Returns the value of attribute admin_name_2.
39 40 41 |
# File 'lib/toponym.rb', line 39 def admin_name_2 @admin_name_2 end |
#alternate_names ⇒ Object
Returns the value of attribute alternate_names.
24 25 26 |
# File 'lib/toponym.rb', line 24 def alternate_names @alternate_names end |
#country_code ⇒ Object
Returns the value of attribute country_code.
25 26 27 |
# File 'lib/toponym.rb', line 25 def country_code @country_code end |
#country_name ⇒ Object
Returns the value of attribute country_name.
26 27 28 |
# File 'lib/toponym.rb', line 26 def country_name @country_name end |
#distance ⇒ Object
Returns the value of attribute distance.
35 36 37 |
# File 'lib/toponym.rb', line 35 def distance @distance end |
#elevation ⇒ Object
Returns the value of attribute elevation.
28 29 30 |
# File 'lib/toponym.rb', line 28 def elevation @elevation end |
#feature_class ⇒ Object
Returns the value of attribute feature_class.
29 30 31 |
# File 'lib/toponym.rb', line 29 def feature_class @feature_class end |
#feature_class_name ⇒ Object
Returns the value of attribute feature_class_name.
30 31 32 |
# File 'lib/toponym.rb', line 30 def feature_class_name @feature_class_name end |
#feature_code ⇒ Object
Returns the value of attribute feature_code.
31 32 33 |
# File 'lib/toponym.rb', line 31 def feature_code @feature_code end |
#feature_code_name ⇒ Object
Returns the value of attribute feature_code_name.
32 33 34 |
# File 'lib/toponym.rb', line 32 def feature_code_name @feature_code_name end |
#geoname_id ⇒ Object
Returns the value of attribute geoname_id.
22 23 24 |
# File 'lib/toponym.rb', line 22 def geoname_id @geoname_id end |
#latitude ⇒ Object
Returns the value of attribute latitude.
33 34 35 |
# File 'lib/toponym.rb', line 33 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
34 35 36 |
# File 'lib/toponym.rb', line 34 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
23 24 25 |
# File 'lib/toponym.rb', line 23 def name @name end |
#population ⇒ Object
Returns the value of attribute population.
27 28 29 |
# File 'lib/toponym.rb', line 27 def population @population end |