lib/mutest/mutator.rb
def mutate_with(mutator, nodes, &block)
      block ||= method(:emit)

      mutator.call(nodes, filter).each(&block)
    end
# Mutate nodes using a specific mutator class
#
# @yield [Object] value emitted by provided mutator
#
# @return [undefined]
Mutate nodes using a specific mutator class
Mutate nodes using a specific mutator class
def mutate_with(mutator, nodes, &block)
      block ||= method(:emit)
      mutator.call(nodes, filter).each(&block)
    end
def mutate_with ( mutator , nodes , & block ) block ||= method ( :emit ) mutator . call ( nodes , filter ) . each ( & block ) end
Mutate nodes using a specific mutator class
Mutate nodes using a specific mutator class
None
undefined
mutator
nodes
block
]
value emitted by provided mutator
value emitted by provided mutator