Sha256: 6e8f7c9d72b14a9e7c14f5c5aa3916584797986d9c38bc03073682baa161bb39

Contents?: true

Size: 524 Bytes

Versions: 24

Compression:

Stored size: 524 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]
        #
        # @api private
        #
        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

24 entries across 24 versions & 1 rubygems

Version Path
mutant-0.8.0 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.9 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.8 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.7 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.6 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.5 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.4 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.3 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.2 lib/mutant/mutator/node/op_asgn.rb
mutant-0.7.1 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.7 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.6 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.5 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.4 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.3 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.2 lib/mutant/mutator/node/op_asgn.rb
mutant-0.6.0 lib/mutant/mutator/node/op_asgn.rb
mutant-0.5.26 lib/mutant/mutator/node/op_asgn.rb
mutant-0.5.25 lib/mutant/mutator/node/op_asgn.rb
mutant-0.5.24 lib/mutant/mutator/node/op_asgn.rb