4ccb6e86ac
This *ignore* should be done at the argument / variable mutator!
25 lines
412 B
Ruby
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
|