Sha256: 65fa9d40a0eab24bd96aaeefa62776d9fa510249b15c1897d9c3cff92929a646

Contents?: true

Size: 456 Bytes

Versions: 24

Compression:

Stored size: 456 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # Mutator for loop control keywords
      class Break < Generic

        handle(:break)

      private

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

      end # Break
    end # Node
  end # Mutator
end # Mutant

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mutant-0.5.23 lib/mutant/mutator/node/break.rb
mutant-0.5.22 lib/mutant/mutator/node/break.rb
mutant-0.5.21 lib/mutant/mutator/node/break.rb
mutant-0.5.20 lib/mutant/mutator/node/break.rb