Class: Taskinator::ConsoleInstrumenter
- Inherits:
-
Object
- Object
- Taskinator::ConsoleInstrumenter
- Defined in:
- lib/taskinator.rb
Instance Method Summary collapse
Instance Method Details
#instrument(event, payload = {}) {|payload| ... } ⇒ Object
133 134 135 136 |
# File 'lib/taskinator.rb', line 133 def instrument(event, payload={}) puts [event.inspect, payload.to_yaml] yield(payload) if block_given? end |