Sha256: df3a2689bdaf0bd83ab1c7c4446902efbb51d2b160b2b2163fe0f3daf29799ae

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 Bytes

Contents

module Mutant
  class Mutator
    class Util

      # Utility symbol mutator
      class Symbol < self

        POSTFIX = '__mutant__'.freeze

      private

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mutant-0.8.0 lib/mutant/mutator/util/symbol.rb
mutant-0.7.9 lib/mutant/mutator/util/symbol.rb
mutant-0.7.8 lib/mutant/mutator/util/symbol.rb
mutant-0.7.7 lib/mutant/mutator/util/symbol.rb
mutant-0.7.6 lib/mutant/mutator/util/symbol.rb
mutant-0.7.5 lib/mutant/mutator/util/symbol.rb
mutant-0.7.4 lib/mutant/mutator/util/symbol.rb
mutant-0.7.3 lib/mutant/mutator/util/symbol.rb
mutant-0.7.2 lib/mutant/mutator/util/symbol.rb
mutant-0.7.1 lib/mutant/mutator/util/symbol.rb
mutant-0.6.7 lib/mutant/mutator/util/symbol.rb