6b2e2a8bb0
* Remove some RBX only nodes * Register parser types * Remove all occurences of ::Rubinius when loading libraries
24 lines
406 B
Ruby
24 lines
406 B
Ruby
module Mutant
|
|
class Mutator
|
|
class Node
|
|
class Define < self
|
|
|
|
handle(:define)
|
|
|
|
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
|