Sha256: d054793b7d9872f32955bc9e44f0fa84a6880d1674fb167238cb397d5a257d16

Contents?: true

Size: 188 Bytes

Versions: 27

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
racecar-2.4.0 lib/racecar/null_instrumenter.rb
racecar-2.3.1 lib/racecar/null_instrumenter.rb
racecar-2.3.0 lib/racecar/null_instrumenter.rb
racecar-2.3.0.alpha1 lib/racecar/null_instrumenter.rb
racecar-2.2.0 lib/racecar/null_instrumenter.rb
racecar-2.1.1 lib/racecar/null_instrumenter.rb
racecar-2.1.0 lib/racecar/null_instrumenter.rb