free_mutant/lib/mutant/mutator/util/symbol.rb
Markus Schirp 4ccb6e86ac Do not ugnore underscored symbols in util mutator
This *ignore* should be done at the argument / variable mutator!
2013-06-14 21:11:54 +02:00

25 lines
412 B
Ruby

module Mutant
class Mutator
class Util
# Mutators that mutates symbol inputs
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