Class: Moped::Instrumentable::Noop

Inherits:
Object
  • Object
show all
Defined in:
lib/patches/instrument.rb

Class Method Summary collapse

Class Method Details

.instrument(name, payload = {}) {|payload| ... } ⇒ Object

Do not instrument anything.

Yields:

  • (payload)


13
14
15
# File 'lib/patches/instrument.rb', line 13

def instrument(name, payload = {})
  yield payload if block_given?
end