Class: Spektrum::Log::Header
- Inherits:
-
Object
- Object
- Spektrum::Log::Header
- Defined in:
- lib/spektrum/log/headers.rb
Overview
Represents a single header from the telemetry file.
Instance Attribute Summary collapse
-
#raw_data ⇒ Object
readonly
Returns the value of attribute raw_data.
Instance Method Summary collapse
-
#initialize(raw_data) ⇒ Header
constructor
Creates a new header.
Constructor Details
#initialize(raw_data) ⇒ Header
Creates a new header.
12 13 14 |
# File 'lib/spektrum/log/headers.rb', line 12 def initialize(raw_data) @raw_data = raw_data end |
Instance Attribute Details
#raw_data ⇒ Object (readonly)
Returns the value of attribute raw_data.
7 8 9 |
# File 'lib/spektrum/log/headers.rb', line 7 def raw_data @raw_data end |