Class: Harness::Timer
- Inherits:
-
Measurement
- Object
- Struct
- Measurement
- Harness::Timer
- Defined in:
- lib/harness.rb
Instance Attribute Summary
Attributes inherited from Measurement
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Measurement
Class Method Details
.from_event(event) ⇒ Object
33 34 35 36 37 |
# File 'lib/harness.rb', line 33 def self.from_event(event) timer = super timer.value = event.duration timer end |