free_mutant/lib/mutant/mutator/util/symbol.rb

26 lines
399 B
Ruby
Raw Normal View History

module Mutant
class Mutator
class Util
# Utility symbol mutator
class Symbol < self
handle(::Symbol)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_new { :"s#{Random.hex_string}" }
end
end # Symbol
end # Util
end # Mutator
end # Mutant