Class: TestBench::Telemetry::EventData
- Inherits:
-
Struct
- Object
- Struct
- TestBench::Telemetry::EventData
- Defined in:
- lib/test_bench/telemetry/event_data.rb,
lib/test_bench/telemetry/event_data/serialization.rb
Defined Under Namespace
Modules: Serialization
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#process_id ⇒ Object
Returns the value of attribute process_id.
-
#time ⇒ Object
Returns the value of attribute time.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
3 4 5 |
# File 'lib/test_bench/telemetry/event_data.rb', line 3 def data @data end |
#process_id ⇒ Object
Returns the value of attribute process_id
3 4 5 |
# File 'lib/test_bench/telemetry/event_data.rb', line 3 def process_id @process_id end |
#time ⇒ Object
Returns the value of attribute time
3 4 5 |
# File 'lib/test_bench/telemetry/event_data.rb', line 3 def time @time end |
#type ⇒ Object
Returns the value of attribute type
3 4 5 |
# File 'lib/test_bench/telemetry/event_data.rb', line 3 def type @type end |
Class Method Details
.load(text) ⇒ Object
4 5 6 |
# File 'lib/test_bench/telemetry/event_data.rb', line 4 def self.load(text) EventData::Serialization.load(text) end |
Instance Method Details
#dump ⇒ Object
8 9 10 |
# File 'lib/test_bench/telemetry/event_data.rb', line 8 def dump EventData::Serialization.dump(self) end |