Sha256: e1fdf742e18ceb3c82cbf830d421d0ac5d87d4acd4231da54fcb76e5514c4909

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Mutant
  class Mutator
    class Node

      # Mutator for super with parentheses
      class Super < self

        handle(:super)

      private

        def dispatch
          emit_singletons
          children.each_index do |index|
            mutate_child(index)
            delete_child(index)
          end
        end

      end # Super
    end # Node
  end # Mutator
end # Mutant

Version data entries

3 entries across 3 versions & 1 rubygems

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