Class: TafStruct
- Inherits:
-
Object
- Object
- TafStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#airport ⇒ Object
Returns the value of attribute airport.
-
#forecast ⇒ Object
Returns the value of attribute forecast.
-
#timeString ⇒ Object
Returns the value of attribute timeString.
Instance Method Summary collapse
-
#initialize(airport = nil, forecast = [], timeString = nil) ⇒ TafStruct
constructor
A new instance of TafStruct.
Constructor Details
#initialize(airport = nil, forecast = [], timeString = nil) ⇒ TafStruct
Returns a new instance of TafStruct.
1838 1839 1840 1841 1842 |
# File 'lib/FlightXML2REST.rb', line 1838 def initialize(airport = nil, forecast = [], timeString = nil) @airport = airport @forecast = forecast @timeString = timeString end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
1837 1838 1839 |
# File 'lib/FlightXML2REST.rb', line 1837 def airport @airport end |
#forecast ⇒ Object
Returns the value of attribute forecast.
1837 1838 1839 |
# File 'lib/FlightXML2REST.rb', line 1837 def forecast @forecast end |
#timeString ⇒ Object
Returns the value of attribute timeString.
1837 1838 1839 |
# File 'lib/FlightXML2REST.rb', line 1837 def timeString @timeString end |