Sha256: 59ca2d070a1f46894a4a9aed34ede724d97920100c241c9a0d76a71a6e6ee3a5

Contents?: true

Size: 481 Bytes

Versions: 8

Compression:

Stored size: 481 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # OpAsgn mutator
      class OpAsgn < self

        handle(:op_asgn)

        children :left, :operation, :right

      private

        # Emit mutations
        #
        # @return [undefined]
        def dispatch
          emit_singletons
          emit_left_mutations do |node|
            !n_self?(node)
          end
          emit_right_mutations
        end

      end # OpAsgn
    end # Node
  end # Mutator
end # Mutant

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.16 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.15 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.14 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.13 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.12 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.11 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.10 lib/mutant/mutator/node/op_asgn.rb
mutant-0.8.9 lib/mutant/mutator/node/op_asgn.rb