1
0
Fork 0
free_mutant/lib/mutant/mutator/node/begin.rb

27 lines
450 B
Ruby
Raw Normal View History

2013-06-04 16:16:04 -04:00
module Mutant
class Mutator
class Node
# Mutator for begin nodes
class Begin < self
handle(:begin)
private
# Emit mutants
#
# @return [undefined]
#
# @api private
#
def dispatch
Mutator::Util::Array.each(children) do |children|
emit_self(children)
end
end
end # Block
end # Node
end # Mutator
end # Mutant