Class: LiveF1::Packet::Car::PitCount
- Inherits:
-
LiveF1::Packet::Car
- Object
- LiveF1::Packet
- LiveF1::Packet::Car
- LiveF1::Packet::Car::PitCount
- Includes:
- Decryptable, Type::Short
- Defined in:
- lib/live_f1/packet/car/pit_count.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::Car
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
#number ⇒ Object
8 9 10 |
# File 'lib/live_f1/packet/car/pit_count.rb', line 8 def number data.to_i end |
#to_s ⇒ Object
12 13 14 |
# File 'lib/live_f1/packet/car/pit_count.rb', line 12 def to_s number end |