Class: Scheduled::Instrumenters::Noop

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

Overview

An Instrumentor that performs work without measurement

Class Method Summary collapse

Class Method Details

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

Yields:

  • (payload)


8
9
10
# File 'lib/scheduled/instrumenters.rb', line 8

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