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

30 lines
481 B
Ruby
Raw Normal View History

# encoding: utf-8
module Mutant
class Mutator
class Node
2013-07-22 00:33:35 -07:00
# Mutation emitter to handle multiple assignment nodes
class MultipleAssignment < self
handle(:masgn)
children :left, :right
private
# Perform dispatch
#
# @return [undefined]
#
# @api private
#
def dispatch
# noop, for now
end
end # MultipleAssignment
end # Node
end # Mutator
end # Mutant