free_mutant/lib/mutant/mutator/node/literal/nil.rb
2013-06-21 15:07:40 +02:00

26 lines
434 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(NEW_OBJECT)
end
end # Nil
end # Literal
end # Node
end # Mutator
end # Mutant