Class: ThrottleMachines::Instrumentation::NullBackend

Inherits:
Object
  • Object
show all
Defined in:
lib/throttle_machines/instrumentation.rb

Overview

Null backend for when ActiveSupport::Notifications is not available

Instance Method Summary collapse

Instance Method Details

#instrument(_name, _payload = {}) ⇒ Object



153
154
155
# File 'lib/throttle_machines/instrumentation.rb', line 153

def instrument(_name, _payload = {})
  yield if block_given?
end