free_mutant/lib/mutant/strategy/static.rb

19 lines
373 B
Ruby
Raw Normal View History

2013-01-15 23:46:05 +01: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 20:54:02 +02:00
end # Fail
2013-01-15 23:46:05 +01:00
# Always succeed to kill strategy
class Success < self
KILLER = Killer::Static::Success
2013-06-14 20:54:02 +02:00
end # Success
2013-01-15 23:46:05 +01:00
2013-06-14 20:54:02 +02:00
end # Static
end # Strategy
end # Mutant