2013-07-28 19:03:06 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
2013-01-15 17:46:05 -05:00
|
|
|
module Mutant
|
|
|
|
class Strategy
|
|
|
|
# Static strategies
|
|
|
|
class Static < self
|
|
|
|
|
|
|
|
# Always fail to kill strategy
|
|
|
|
class Fail < self
|
|
|
|
KILLER = Killer::Static::Fail
|
2013-06-14 14:54:02 -04:00
|
|
|
end # Fail
|
2013-01-15 17:46:05 -05:00
|
|
|
|
|
|
|
# Always succeed to kill strategy
|
|
|
|
class Success < self
|
|
|
|
KILLER = Killer::Static::Success
|
2013-06-14 14:54:02 -04:00
|
|
|
end # Success
|
2013-01-15 17:46:05 -05:00
|
|
|
|
2013-06-14 14:54:02 -04:00
|
|
|
end # Static
|
|
|
|
end # Strategy
|
|
|
|
end # Mutant
|