Class: Spektrum::Log::Header

Inherits:
Object
  • Object
show all
Defined in:
lib/spektrum/log/headers.rb

Overview

Represents a single header from the telemetry file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_data) ⇒ Header

Creates a new header.

Parameters:

  • raw_data (String)

    string of data from the data file for this 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_dataObject (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