Sha256: 2fd25d359dc88c943506f6ce337e209ef5150eeeb9d18615db0a76d298420fdc

Contents?: true

Size: 426 Bytes

Versions: 8

Compression:

Stored size: 426 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # Yield mutator
      class Yield < Generic

        handle(:yield)

      private

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.8 lib/mutant/mutator/node/yield.rb
mutant-0.8.7 lib/mutant/mutator/node/yield.rb
mutant-0.8.6 lib/mutant/mutator/node/yield.rb
mutant-0.8.5 lib/mutant/mutator/node/yield.rb
mutant-0.8.4 lib/mutant/mutator/node/yield.rb
mutant-0.8.3 lib/mutant/mutator/node/yield.rb
mutant-0.8.2 lib/mutant/mutator/node/yield.rb
mutant-0.8.1 lib/mutant/mutator/node/yield.rb