Sha256: 4c356751e18964726abaae7068111129fdd68ac04e36a3180f1982bf3232a81f

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 Bytes

Contents

module Mutant
  class 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

7 entries across 7 versions & 1 rubygems

Version Path
mutant-0.2.12 lib/mutant/reporter/null.rb
mutant-0.2.11 lib/mutant/reporter/null.rb
mutant-0.2.9 lib/mutant/reporter/null.rb
mutant-0.2.8 lib/mutant/reporter/null.rb
mutant-0.2.7 lib/mutant/reporter/null.rb
mutant-0.2.6 lib/mutant/reporter/null.rb
mutant-0.2.5 lib/mutant/reporter/null.rb