free_mutant/lib/mutant/mutator/node/local_variable_assignment.rb

26 lines
415 B
Ruby
Raw Normal View History

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