Class: WorldAirports::Airport
- Inherits:
-
Object
- Object
- WorldAirports::Airport
- Defined in:
- lib/world_airports.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#iata ⇒ Object
Returns the value of attribute iata.
-
#icao ⇒ Object
Returns the value of attribute icao.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
11 12 13 |
# File 'lib/world_airports.rb', line 11 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
12 13 14 |
# File 'lib/world_airports.rb', line 12 def country @country end |
#iata ⇒ Object
Returns the value of attribute iata.
9 10 11 |
# File 'lib/world_airports.rb', line 9 def iata @iata end |
#icao ⇒ Object
Returns the value of attribute icao.
10 11 12 |
# File 'lib/world_airports.rb', line 10 def icao @icao end |
#location ⇒ Object
Returns the value of attribute location.
8 9 10 |
# File 'lib/world_airports.rb', line 8 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/world_airports.rb', line 7 def name @name end |