Sha256: 5a75eae0c470a48f3f34229ecef3d942137505616cff3f2ffb7c4ca8d6db1f24

Contents?: true

Size: 395 Bytes

Versions: 6

Compression:

Stored size: 395 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # Yield mutator
      class Yield < Generic

        handle(:yield)

      private

        # Emit mutations
        #
        # @return [undefined]
        def dispatch
          super()
          emit_singletons
          children.each_index(&method(:delete_child))
        end

      end # Yield
    end # Node
  end # Mutator
end # Mutant

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 lib/mutant/mutator/node/yield.rb
mutant-0.8.15 lib/mutant/mutator/node/yield.rb
mutant-0.8.14 lib/mutant/mutator/node/yield.rb
mutant-0.8.13 lib/mutant/mutator/node/yield.rb
mutant-0.8.12 lib/mutant/mutator/node/yield.rb
mutant-0.8.11 lib/mutant/mutator/node/yield.rb