2012-12-29 14:12:48 -05:00
|
|
|
module Mutant
|
|
|
|
class Mutator
|
|
|
|
class Util
|
|
|
|
|
2013-06-04 14:23:06 -04:00
|
|
|
# Utility symbol mutator
|
2012-12-29 14:12:48 -05:00
|
|
|
class Symbol < self
|
|
|
|
|
|
|
|
handle(::Symbol)
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
# Emit mutations
|
|
|
|
#
|
|
|
|
# @return [undefined]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
def dispatch
|
2013-06-04 14:03:26 -04:00
|
|
|
emit_new { :"s#{Random.hex_string}" }
|
2012-12-29 17:07:45 -05:00
|
|
|
end
|
|
|
|
|
2013-06-04 14:03:26 -04:00
|
|
|
end # Symbol
|
|
|
|
end # Util
|
|
|
|
end # Mutator
|
|
|
|
end # Mutant
|