Sha256: 290ab6a5a1dccb8511525d220009f5a056fe7cbf09e76b731e4be74fcedefd38

Contents?: true

Size: 432 Bytes

Versions: 20

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

module Mutant
  class Mutator
    class Node
      # Mutator for dynamic literals
      class DynamicLiteral < self

        handle(:dstr, :dsym)

      private

        def dispatch
          emit_singletons

          children.each_index do |index|
            mutate_child(index, &method(:n_begin?))
          end
        end

      end # DynamicLiteral
    end # Node
  end # Mutator
end # Mutant

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mutant-0.11.8 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.7 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.6 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.5 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.4 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.3 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.2 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.1 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.11.0 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.35 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.34 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.33 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.32 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.31 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.30 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.29 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.28 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.27 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.26 lib/mutant/mutator/node/dynamic_literal.rb
mutant-0.10.25 lib/mutant/mutator/node/dynamic_literal.rb