Sha256: b8a67c85c9e63625be9e34e3f3f7a62c9dbc18d492d78a85074bfa626bf46026

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

module Mutant
  class Mutator
    class Node
      # Mutator for splat nodes
      class Splat < self

        handle :splat

        children :expression

      private

        # Emit mutations
        #
        # @return [undefined]
        def dispatch
          emit_singletons
          emit_expression_mutations
          emit(expression)
        end

      end # Splat
    end # Node
  end # Mutator
end # Mutant

Version data entries

6 entries across 6 versions & 1 rubygems

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