Sha256: 115c04d427a245d7878323ef15dc7c1c258021a6e1b8bd7757428e24b1f856d3

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

module Gurke::Reporters
  #
  # The {NullReporter} does not output anything.
  #
  class NullReporter < Gurke::Reporter
    Gurke::Reporter::CALLBACKS.each do |cb|
      class_eval <<-EOF, __FILE__, __LINE__
        def #{cb}(*) end
      EOF
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gurke-2.0.0.dev.1.b20 lib/gurke/reporters/null_reporter.rb
gurke-2.0.0.dev.1.b19 lib/gurke/reporters/null_reporter.rb
gurke-2.0.0.dev.1.b18 lib/gurke/reporters/null_reporter.rb