Class: Console::Event::Exit
- Defined in:
- lib/console/event/measure.rb
Instance Attribute Summary
Attributes inherited from Metric
Instance Method Summary collapse
Methods inherited from Metric
[], #format, #initialize, #to_h
Methods inherited from Generic
#format, register, #to_h, #to_json
Constructor Details
This class inherits a constructor from Console::Event::Metric
Instance Method Details
#value_string ⇒ Object
39 40 41 |
# File 'lib/console/event/measure.rb', line 39 def value_string "← #{@name} took #{Clock.formatted_duration(@value)}" end |