Sha256: 9cef920a160ed03909ed79e3ab0dd264875439310d6b1fc7af0585f18e2ef69a

Contents?: true

Size: 390 Bytes

Versions: 10

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Mutant
  class Mutator
    class Util

      # Utility symbol mutator
      class Symbol < self

        POSTFIX = '__mutant__'

      private

        # Emit mutations
        #
        # @return [undefined]
        def dispatch
          emit((input.to_s + POSTFIX).to_sym)
        end

      end # Symbol
    end # Util
  end # Mutator
end # Mutant

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutant-0.9.8 lib/mutant/mutator/util/symbol.rb
mutant-0.9.7 lib/mutant/mutator/util/symbol.rb
mutant-0.9.6 lib/mutant/mutator/util/symbol.rb
mutant-0.9.5 lib/mutant/mutator/util/symbol.rb
mutant-0.9.4 lib/mutant/mutator/util/symbol.rb
mutant-0.9.3 lib/mutant/mutator/util/symbol.rb
mutant-0.9.2 lib/mutant/mutator/util/symbol.rb
mutant-0.9.1 lib/mutant/mutator/util/symbol.rb
mutant-0.9.0 lib/mutant/mutator/util/symbol.rb
mutant-0.8.24 lib/mutant/mutator/util/symbol.rb