Sha256: 1900207fd08dd66b793532e43fd6b813691ffb04e2ec8f487843b68fd4d04a49

Contents?: true

Size: 429 Bytes

Versions: 11

Compression:

Stored size: 429 Bytes

Contents

module Startback
  module Audit
    class NullTracer

      def attached?
        false
      end

      def last_span!
        nil
      end

      def new_trace(*args)
        self
      end

      def attach_to(*args)
        self
      end

      def fork(*args)
        yield
      end

      def on_span(listener = nil, &block)
        self
      end

    end # class NullTracer
  end # module Audit
end # module Startback

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
startback-1.0.3 lib/startback/audit/null_tracer.rb
startback-1.0.2 lib/startback/audit/null_tracer.rb
startback-1.0.1 lib/startback/audit/null_tracer.rb
startback-1.0.0 lib/startback/audit/null_tracer.rb
startback-0.19.4 lib/startback/audit/null_tracer.rb
startback-0.19.3 lib/startback/audit/null_tracer.rb
startback-0.19.1 lib/startback/audit/null_tracer.rb
startback-0.19.0 lib/startback/audit/null_tracer.rb
startback-0.18.2 lib/startback/audit/null_tracer.rb
startback-0.18.1 lib/startback/audit/null_tracer.rb
startback-0.18.0 lib/startback/audit/null_tracer.rb