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
#as_json, #format, register, #to_h
Constructor Details
This class inherits a constructor from Console::Event::Metric
Instance Method Details
#value_string ⇒ Object
37 38 39 |
# File 'lib/console/event/measure.rb', line 37 def value_string "← #{@name} took #{Clock.formatted_duration(@value)}" end |