Class: LiveF1::Packet::Sys::TrackStatus
- Inherits:
-
LiveF1::Packet::Sys
- Object
- LiveF1::Packet
- LiveF1::Packet::Sys
- LiveF1::Packet::Sys::TrackStatus
- Includes:
- Decryptable, Type::Short
- Defined in:
- lib/live_f1/packet/sys/track_status.rb
Instance Attribute Summary
Attributes included from Decryptable
Attributes inherited from LiveF1::Packet
Instance Method Summary collapse
Methods included from Decryptable
Methods included from Type::Short
Methods inherited from LiveF1::Packet
from_source, #initialize, #inspect, #leader, #spare_bits, #spare_data
Constructor Details
This class inherits a constructor from LiveF1::Packet
Instance Method Details
#status ⇒ Object
8 9 10 |
# File 'lib/live_f1/packet/sys/track_status.rb', line 8 def status data.to_i end |
#to_s ⇒ Object
12 13 14 |
# File 'lib/live_f1/packet/sys/track_status.rb', line 12 def to_s Event::TrackStatus.name_for(status) end |