Class: Toy::Instrumenters::Noop

Inherits:
Object
  • Object
show all
Defined in:
lib/toy/instrumenters/noop.rb

Class Method Summary collapse

Class Method Details

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

Yields:

  • (payload)


4
5
6
# File 'lib/toy/instrumenters/noop.rb', line 4

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