Sha256: 935b96b2b9688e22be9e4a9db809baaf95816abbe78081ad02deb995a8b9bf02

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 Bytes

Contents

module Mutant
  class Mutator
    class Util

      # Utility symbol mutator
      class Symbol < self

        POSTFIX = '__mutant__'.freeze

      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

8 entries across 8 versions & 1 rubygems

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