Class: Moped::Instrumentable::Noop
- Inherits:
-
Object
- Object
- Moped::Instrumentable::Noop
- Defined in:
- lib/patches/instrument.rb
Class Method Summary collapse
-
.instrument(name, payload = {}) {|payload| ... } ⇒ Object
Do not instrument anything.
Class Method Details
.instrument(name, payload = {}) {|payload| ... } ⇒ Object
Do not instrument anything.
13 14 15 |
# File 'lib/patches/instrument.rb', line 13 def instrument(name, payload = {}) yield payload if block_given? end |