Class: Racecar::NullInstrumenter

Inherits:
Object
  • Object
show all
Defined in:
lib/racecar/null_instrumenter.rb

Overview

Ignores all instrumentation events.

Class Method Summary collapse

Class Method Details

.instrument {|{}| ... } ⇒ Object

Yields:

  • ({})


6
7
8
# File 'lib/racecar/null_instrumenter.rb', line 6

def self.instrument(*)
  yield({}) if block_given?
end