Sha256: a17d41c60aed62be6215a01943bdaed11c8eb7bfbdf4ef1e18fdc98bcc575151

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module Solve
  module Tracers
    class Silent < AbstractTracer
      class << self
        def empty_method(*args)
          args.each do |method|
            define_method(method.to_sym) do |*args|
            end
          end
        end
      end

      empty_method *AbstractTracer::TRACER_METHODS
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solve-0.8.2 lib/solve/tracers/silent.rb
solve-0.8.1 lib/solve/tracers/silent.rb
solve-0.8.0 lib/solve/tracers/silent.rb