Class: WorldAirports::Airport

Inherits:
Object
  • Object
show all
Defined in:
lib/world_airports.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city.



11
12
13
# File 'lib/world_airports.rb', line 11

def city
  @city
end

#countryObject

Returns the value of attribute country.



12
13
14
# File 'lib/world_airports.rb', line 12

def country
  @country
end

#iataObject

Returns the value of attribute iata.



9
10
11
# File 'lib/world_airports.rb', line 9

def iata
  @iata
end

#icaoObject

Returns the value of attribute icao.



10
11
12
# File 'lib/world_airports.rb', line 10

def icao
  @icao
end

#locationObject

Returns the value of attribute location.



8
9
10
# File 'lib/world_airports.rb', line 8

def location
  @location
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/world_airports.rb', line 7

def name
  @name
end