Sha256: c724caef73057184eb4fa9e41fd6fc517191bb83872b26cf1c4718367c5721af

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Mutant
  class Mutator
    class Node

      # Yield mutator
      class Yield < Generic

        handle(:yield)

      private

        def dispatch
          super
          emit_singletons
          children.each_index(&method(:delete_child))
        end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mutant-0.12.4 lib/mutant/mutator/node/yield.rb
mutant-0.12.3 lib/mutant/mutator/node/yield.rb