Sha256: 4c2e8bd329f331c7eb9d65898052297c9261fa8e4912927f4d81592da330a967

Contents?: true

Size: 541 Bytes

Versions: 7

Compression:

Stored size: 541 Bytes

Contents

# encoding: utf-8

module Mutant
  class Reporter

    # Null reporter
    class Null < self
      include Equalizer.new

      # Report object
      #
      # @param [Object] _object
      #
      # @return [self]
      #
      # @api private
      #
      def report(_object)
        self
      end

      # Report progress on object
      #
      # @param [Object] _object
      #
      # @return [self]
      #
      # @api private
      #
      def progress(_object)
        self
      end

    end # Null
  end # Reporter
end # Mutant

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mutant-0.5.19 lib/mutant/reporter/null.rb
mutant-0.5.18 lib/mutant/reporter/null.rb
mutant-0.5.17 lib/mutant/reporter/null.rb
mutant-0.5.16 lib/mutant/reporter/null.rb
mutant-0.5.15 lib/mutant/reporter/null.rb
mutant-0.5.14 lib/mutant/reporter/null.rb
mutant-0.5.13 lib/mutant/reporter/null.rb