Class: Metar::Data::DensityAltitude
- Defined in:
- lib/metar/data/density_altitude.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(raw, height:) ⇒ DensityAltitude
constructor
A new instance of DensityAltitude.
Methods inherited from Base
Constructor Details
#initialize(raw, height:) ⇒ DensityAltitude
Returns a new instance of DensityAltitude.
15 16 17 18 |
# File 'lib/metar/data/density_altitude.rb', line 15 def initialize(raw, height:) @raw = raw @height = height end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
13 14 15 |
# File 'lib/metar/data/density_altitude.rb', line 13 def height @height end |