Class: IGC::Flight
- Inherits:
-
Object
- Object
- IGC::Flight
- Defined in:
- lib/igc/flight.rb
Overview
IGC::Flight represents a the fligth as recorder in the IGC file
Instance Attribute Summary collapse
-
#competition_class ⇒ Object
Returns the value of attribute competition_class.
-
#competition_id ⇒ Object
Returns the value of attribute competition_id.
-
#data_extensions ⇒ Object
Returns the value of attribute data_extensions.
-
#date ⇒ Object
Returns the value of attribute date.
-
#firmware_version ⇒ Object
Returns the value of attribute firmware_version.
-
#fix_extensions ⇒ Object
Returns the value of attribute fix_extensions.
-
#fixes ⇒ Object
Returns the value of attribute fixes.
-
#flight_number ⇒ Object
Returns the value of attribute flight_number.
-
#flight_recorder_type ⇒ Object
Returns the value of attribute flight_recorder_type.
-
#glider_id ⇒ Object
Returns the value of attribute glider_id.
-
#glider_type ⇒ Object
Returns the value of attribute glider_type.
-
#gps_altitude_ref ⇒ Object
Returns the value of attribute gps_altitude_ref.
-
#hardware_version ⇒ Object
Returns the value of attribute hardware_version.
-
#pilot ⇒ Object
Returns the value of attribute pilot.
-
#pressure_altitude_ref ⇒ Object
Returns the value of attribute pressure_altitude_ref.
-
#pressure_sensor ⇒ Object
Returns the value of attribute pressure_sensor.
-
#raw_headers ⇒ Object
Returns the value of attribute raw_headers.
-
#reorder_id ⇒ Object
Returns the value of attribute reorder_id.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
Instance Method Summary collapse
-
#initialize ⇒ Flight
constructor
A new instance of Flight.
Constructor Details
#initialize ⇒ Flight
Returns a new instance of Flight.
26 27 28 29 30 31 |
# File 'lib/igc/flight.rb', line 26 def initialize @raw_headers = {} @fix_extensions = {} @data_extensions = {} @fixes = [] end |
Instance Attribute Details
#competition_class ⇒ Object
Returns the value of attribute competition_class.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def competition_class @competition_class end |
#competition_id ⇒ Object
Returns the value of attribute competition_id.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def competition_id @competition_id end |
#data_extensions ⇒ Object
Returns the value of attribute data_extensions.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def data_extensions @data_extensions end |
#date ⇒ Object
Returns the value of attribute date.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def date @date end |
#firmware_version ⇒ Object
Returns the value of attribute firmware_version.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def firmware_version @firmware_version end |
#fix_extensions ⇒ Object
Returns the value of attribute fix_extensions.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def fix_extensions @fix_extensions end |
#fixes ⇒ Object
Returns the value of attribute fixes.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def fixes @fixes end |
#flight_number ⇒ Object
Returns the value of attribute flight_number.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def flight_number @flight_number end |
#flight_recorder_type ⇒ Object
Returns the value of attribute flight_recorder_type.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def flight_recorder_type @flight_recorder_type end |
#glider_id ⇒ Object
Returns the value of attribute glider_id.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def glider_id @glider_id end |
#glider_type ⇒ Object
Returns the value of attribute glider_type.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def glider_type @glider_type end |
#gps_altitude_ref ⇒ Object
Returns the value of attribute gps_altitude_ref.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def gps_altitude_ref @gps_altitude_ref end |
#hardware_version ⇒ Object
Returns the value of attribute hardware_version.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def hardware_version @hardware_version end |
#pilot ⇒ Object
Returns the value of attribute pilot.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def pilot @pilot end |
#pressure_altitude_ref ⇒ Object
Returns the value of attribute pressure_altitude_ref.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def pressure_altitude_ref @pressure_altitude_ref end |
#pressure_sensor ⇒ Object
Returns the value of attribute pressure_sensor.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def pressure_sensor @pressure_sensor end |
#raw_headers ⇒ Object
Returns the value of attribute raw_headers.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def raw_headers @raw_headers end |
#reorder_id ⇒ Object
Returns the value of attribute reorder_id.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def reorder_id @reorder_id end |
#timezone ⇒ Object
Returns the value of attribute timezone.
6 7 8 |
# File 'lib/igc/flight.rb', line 6 def timezone @timezone end |