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