25 lines
504 B
Ruby
25 lines
504 B
Ruby
module Mutant
|
|
class Mutator
|
|
class Node
|
|
# Emitter for mutations on 19 blocks
|
|
class Iter19 < self
|
|
|
|
handle(Rubinius::AST::Iter19)
|
|
|
|
# Emit mutants
|
|
#
|
|
# @return [undefined]
|
|
#
|
|
# @api private
|
|
#
|
|
def dispatch
|
|
emit_attribute_mutations(:body)
|
|
emit_attribute_mutations(:arguments) do |mutation|
|
|
mutation.names = mutation.required
|
|
end if node.arguments
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|