Sha256: e6b3462b5c98853a9c7e302f63a9cbf298b8dc54ac27667abc5c2bd7d8b093f8

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

module Mutant
  class Reporter

    # Null reporter
    class Null < self

      # Report subject
      #
      # @param [Subject] subject
      #
      # @return [self]
      #
      # @api private
      #
      def subject(*)
        self
      end

      # Report mutation
      #
      # @param [Mutation] mutation
      #
      # @return [self]
      #
      # @api private
      #
      def mutation(*)
        self
      end

      # Report killer
      #
      # @param [Killer] killer
      #
      # @return [self]
      #
      # @api private
      #
      def killer(*)
        self
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.2.20 lib/mutant/reporter/null.rb
mutant-0.2.17 lib/mutant/reporter/null.rb
mutant-0.2.16 lib/mutant/reporter/null.rb
mutant-0.2.15 lib/mutant/reporter/null.rb
mutant-0.2.14 lib/mutant/reporter/null.rb
mutant-0.2.13 lib/mutant/reporter/null.rb