free_mutant/lib/mutant/mutator/node/when.rb
Markus Schirp 6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00

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