Class: Twirl::Instrumenters::Noop

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

Class Method Summary collapse

Class Method Details

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

Yields:

  • (payload)


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

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