Class: HubStep::Internal::Instrumenter::Noop
- Inherits:
-
Object
- Object
- HubStep::Internal::Instrumenter::Noop
- Defined in:
- lib/hubstep/internal/instrumenter/noop.rb
Overview
A noop instrumenter that fulfills the interface for ActiveSupport::Notifications but does nothing. This is the default instrumenter when the client does not pass one in
Instance Method Summary collapse
Instance Method Details
#instrument(_name, payload = {}) {|payload| ... } ⇒ Object
10 11 12 |
# File 'lib/hubstep/internal/instrumenter/noop.rb', line 10 def instrument(_name, payload = {}) yield payload if block_given? end |