Class: MetarStruct
- Inherits:
-
Object
- Object
- MetarStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#airport ⇒ Object
Returns the value of attribute airport.
-
#cloud_altitude ⇒ Object
Returns the value of attribute cloud_altitude.
-
#cloud_friendly ⇒ Object
Returns the value of attribute cloud_friendly.
-
#cloud_type ⇒ Object
Returns the value of attribute cloud_type.
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#pressure ⇒ Object
Returns the value of attribute pressure.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
-
#temp_air ⇒ Object
Returns the value of attribute temp_air.
-
#temp_dewpoint ⇒ Object
Returns the value of attribute temp_dewpoint.
-
#temp_relhum ⇒ Object
Returns the value of attribute temp_relhum.
-
#time ⇒ Object
Returns the value of attribute time.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
-
#wind_direction ⇒ Object
Returns the value of attribute wind_direction.
-
#wind_friendly ⇒ Object
Returns the value of attribute wind_friendly.
-
#wind_speed ⇒ Object
Returns the value of attribute wind_speed.
-
#wind_speed_gust ⇒ Object
Returns the value of attribute wind_speed_gust.
Instance Method Summary collapse
-
#initialize(airport = nil, cloud_altitude = nil, cloud_friendly = nil, cloud_type = nil, conditions = nil, pressure = nil, raw_data = nil, temp_air = nil, temp_dewpoint = nil, temp_relhum = nil, time = nil, visibility = nil, wind_direction = nil, wind_friendly = nil, wind_speed = nil, wind_speed_gust = nil) ⇒ MetarStruct
constructor
A new instance of MetarStruct.
Constructor Details
#initialize(airport = nil, cloud_altitude = nil, cloud_friendly = nil, cloud_type = nil, conditions = nil, pressure = nil, raw_data = nil, temp_air = nil, temp_dewpoint = nil, temp_relhum = nil, time = nil, visibility = nil, wind_direction = nil, wind_friendly = nil, wind_speed = nil, wind_speed_gust = nil) ⇒ MetarStruct
Returns a new instance of MetarStruct.
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 |
# File 'lib/FlightXML2REST.rb', line 1944 def initialize(airport = nil, cloud_altitude = nil, cloud_friendly = nil, cloud_type = nil, conditions = nil, pressure = nil, raw_data = nil, temp_air = nil, temp_dewpoint = nil, temp_relhum = nil, time = nil, visibility = nil, wind_direction = nil, wind_friendly = nil, wind_speed = nil, wind_speed_gust = nil ) @airport = airport @cloud_altitude = cloud_altitude @cloud_friendly = cloud_friendly @cloud_type = cloud_type @conditions = conditions @pressure = pressure @raw_data = raw_data @temp_air = temp_air @temp_dewpoint = temp_dewpoint @temp_relhum = temp_relhum @time = time @visibility = visibility @wind_direction = wind_direction @wind_friendly = wind_friendly @wind_speed = wind_speed @wind_speed_gust = wind_speed_gust end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def airport @airport end |
#cloud_altitude ⇒ Object
Returns the value of attribute cloud_altitude.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def cloud_altitude @cloud_altitude end |
#cloud_friendly ⇒ Object
Returns the value of attribute cloud_friendly.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def cloud_friendly @cloud_friendly end |
#cloud_type ⇒ Object
Returns the value of attribute cloud_type.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def cloud_type @cloud_type end |
#conditions ⇒ Object
Returns the value of attribute conditions.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def conditions @conditions end |
#pressure ⇒ Object
Returns the value of attribute pressure.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def pressure @pressure end |
#raw_data ⇒ Object
Returns the value of attribute raw_data.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def raw_data @raw_data end |
#temp_air ⇒ Object
Returns the value of attribute temp_air.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def temp_air @temp_air end |
#temp_dewpoint ⇒ Object
Returns the value of attribute temp_dewpoint.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def temp_dewpoint @temp_dewpoint end |
#temp_relhum ⇒ Object
Returns the value of attribute temp_relhum.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def temp_relhum @temp_relhum end |
#time ⇒ Object
Returns the value of attribute time.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def time @time end |
#visibility ⇒ Object
Returns the value of attribute visibility.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def visibility @visibility end |
#wind_direction ⇒ Object
Returns the value of attribute wind_direction.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def wind_direction @wind_direction end |
#wind_friendly ⇒ Object
Returns the value of attribute wind_friendly.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def wind_friendly @wind_friendly end |
#wind_speed ⇒ Object
Returns the value of attribute wind_speed.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def wind_speed @wind_speed end |
#wind_speed_gust ⇒ Object
Returns the value of attribute wind_speed_gust.
1927 1928 1929 |
# File 'lib/FlightXML2REST.rb', line 1927 def wind_speed_gust @wind_speed_gust end |