Sha256: b6498d0539119135230503c08068bc86121bb2893ed6a0a1ef1b4ac28d3d20e4

Contents?: true

Size: 397 Bytes

Versions: 7

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

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

7 entries across 7 versions & 1 rubygems

Version Path
mutant-0.8.23 lib/mutant/mutator/util/symbol.rb
mutant-0.8.22 lib/mutant/mutator/util/symbol.rb
mutant-0.8.21 lib/mutant/mutator/util/symbol.rb
mutant-0.8.20 lib/mutant/mutator/util/symbol.rb
mutant-0.8.19 lib/mutant/mutator/util/symbol.rb
mutant-0.8.18 lib/mutant/mutator/util/symbol.rb
mutant-0.8.17 lib/mutant/mutator/util/symbol.rb