Sha256: 4dee6e18904c62520110783d75415c2c4343319f2141aff655ae5e5eb7bff034

Contents?: true

Size: 491 Bytes

Versions: 7

Compression:

Stored size: 491 Bytes

Contents

# encoding: utf-8

module Mutant
  class Mutation
    # Evul mutation
    class Evil < self

      SHOULD_FAIL = true
      SYMBOL      = 'evil'.freeze

      # Test if killer is successful
      #
      # @param [Killer] killer
      #
      # @return [true]
      #   if killer killed mutation
      #
      # @return [false]
      #   otherwise
      #
      # @api private
      #
      def success?(killer)
        killer.killed?
      end

    end # Evil
  end # Mutation
end # Mutant

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mutant-0.5.19 lib/mutant/mutation/evil.rb
mutant-0.5.18 lib/mutant/mutation/evil.rb
mutant-0.5.17 lib/mutant/mutation/evil.rb
mutant-0.5.16 lib/mutant/mutation/evil.rb
mutant-0.5.15 lib/mutant/mutation/evil.rb
mutant-0.5.14 lib/mutant/mutation/evil.rb
mutant-0.5.13 lib/mutant/mutation/evil.rb