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.
2010 2011 2012 2013 2014 |
# File 'lib/FlightXML2REST.rb', line 2010 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.
2009 2010 2011 |
# File 'lib/FlightXML2REST.rb', line 2009 def airport @airport end |
#forecast ⇒ Object
Returns the value of attribute forecast.
2009 2010 2011 |
# File 'lib/FlightXML2REST.rb', line 2009 def forecast @forecast end |
#timeString ⇒ Object
Returns the value of attribute timeString.
2009 2010 2011 |
# File 'lib/FlightXML2REST.rb', line 2009 def timeString @timeString end |