23 lines
387 B
Ruby
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
|