free_mutant/lib/mutant/mutation/evil.rb
2014-06-15 19:28:57 +00:00

23 lines
387 B
Ruby

module Mutant
class Mutation
# Evul mutation
class Evil < self
SHOULD_FAIL = true
SYMBOL = 'evil'.freeze
# Test if killer is successful
#
# @param [Killer] killer
#
# @return [Boolean]
#
# @api private
#
def success?(killer)
killer.killed?
end
end # Evil
end # Mutation
end # Mutant