free_mutant/lib/mutant/mutator/node/local_variable_assignment.rb
Markus Schirp 40d5230c68 Introduce noop mutation guards and argument mutators
* Sorry for not splitting up into smaller commit
2012-12-11 00:17:19 +01:00

25 lines
415 B
Ruby

module Mutant
class Mutator
class Node
class LocalVariableAssignment < self
handle(Rubinius::AST::LocalVariableAssignment)
private
# Emit mutants
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_attribute_mutations(:name)
emit_attribute_mutations(:value)
end
end
end
end
end