Sha256: 4dda6cf3208838859695d413c1b487992cd876b43c2eae30ab6fbf5ca79af97b

Contents?: true

Size: 157 Bytes

Versions: 8

Compression:

Stored size: 157 Bytes

Contents

module Racecar
  # Ignores all instrumentation events.
  class NullInstrumenter
    def self.instrument(*)
      yield({}) if block_given?
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
racecar-2.0.0 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta6 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta5 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta4 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta3 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta2 lib/racecar/null_instrumenter.rb
racecar-2.0.0.beta1 lib/racecar/null_instrumenter.rb
racecar-2.0.0.alpha3 lib/racecar/null_instrumenter.rb