Sha256: 6304d550e306eabd9b82a1d9457a9d048e584cfc7f469eadce9e9e52ee490818

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

module Mutant
  class Reporter

    # Null reporter
    class Null < self
      include Equalizer.new

      # Write warning message
      #
      # @param [String] _message
      #
      # @return [self]
      #
      # @api private
      #
      def report(_message)
        self
      end

      # 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

1 entries across 1 versions & 1 rubygems

Version Path
mutant-0.5.24 lib/mutant/reporter/null.rb