free_mutant/lib/mutant/mutator/node/while.rb
Markus Schirp eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00

26 lines
422 B
Ruby

module Mutant
class Mutator
class Node
# Mutator for while expressions
class While < self
handle(Rubinius::AST::While)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_attribute_mutations(:condition)
emit_attribute_mutations(:body)
end
end
end
end
end