6b2e2a8bb0
* Remove some RBX only nodes * Register parser types * Remove all occurences of ::Rubinius when loading libraries
26 lines
443 B
Ruby
26 lines
443 B
Ruby
module Mutant
|
|
class Mutator
|
|
class Node
|
|
class Literal
|
|
# Mutator for nil literals
|
|
class Nil < self
|
|
|
|
handle(:nil)
|
|
|
|
private
|
|
|
|
# Emit mutants
|
|
#
|
|
# @return [undefined]
|
|
#
|
|
# @api private
|
|
#
|
|
def dispatch
|
|
emit('Object.new'.to_ast)
|
|
end
|
|
|
|
end # Nil
|
|
end # Literal
|
|
end # Node
|
|
end # Mutator
|
|
end # Mutant
|