free_mutant/lib/mutant/mutator/node/block.rb
2012-12-06 22:30:57 +01:00

24 lines
394 B
Ruby

module Mutant
class Mutator
class Node
# Mutator on AST blocks
class Block < self
handle(Rubinius::AST::Block)
private
# Emit mutants
#
# @return [undefined]
#
# @api private
#
def dispatch
array = input.array
emit_attribute_mutations(:array)
end
end
end
end
end