6b2e2a8bb0
* Remove some RBX only nodes * Register parser types * Remove all occurences of ::Rubinius when loading libraries
25 lines
385 B
Ruby
25 lines
385 B
Ruby
module Mutant
|
|
class Mutator
|
|
class Node
|
|
|
|
# Mutator for when nodes
|
|
class When < self
|
|
|
|
handle(:when)
|
|
|
|
private
|
|
|
|
# Emit mutations
|
|
#
|
|
# @return [undefined]
|
|
#
|
|
# @api private
|
|
#
|
|
def dispatch
|
|
emit_attribute_mutations(:body)
|
|
end
|
|
|
|
end # When
|
|
end # Node
|
|
end # Mutator
|
|
end # Mutant
|