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

25 lines
406 B
Ruby
Raw Normal View History

module Mutant
class Mutator
class Node
class Define < self
handle(:define)
2012-12-10 17:26:56 +01:00
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_attribute_mutations(:body)
emit_attribute_mutations(:arguments)
end
end # Define
end # Node
end # Mutator
end # Mutant