Sha256: d35f5934647a106f05a5dc1f8777e507c28ff9686753e40b028ef2d982ddba18

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

module Mutest
  class Mutator
    class Node
      class Literal < self
        # Mutator for symbol literals
        class Symbol < self
          handle(:sym)

          children :value

          private

          # Emit mutations
          #
          # @return [undefined]
          def dispatch
            emit_singletons
            mutate_with(Util::Symbol, value, &method(:emit_type))
          end
        end # Symbol
      end # Literal
    end # Node
  end # Mutator
end # Mutest

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mutest-0.0.9 lib/mutest/mutator/node/literal/symbol.rb
mutest-0.0.8 lib/mutest/mutator/node/literal/symbol.rb
mutest-0.0.7 lib/mutest/mutator/node/literal/symbol.rb