free_mutant/lib/mutant/mutator/node/literal/string.rb
Markus Schirp 6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00

27 lines
488 B
Ruby

module Mutant
class Mutator
class Node
class Literal
# Mutator for string literals
class String < self
handle(:str)
private
# Emit mutants
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_nil
emit_new { new_self(Random.hex_string) }
end
end # String
end # Literal
end # Node
end # Mutator
end # Mutant