Port literal nil mutator to parser

This commit is contained in:
Markus Schirp 2013-06-04 23:44:32 +02:00
parent d6481615af
commit 40259170e7
2 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ module Mutant
# @api private
#
def dispatch
emit('Object.new'.to_ast)
emit(s(:send, s(:const, s(:cbase), :Object), :new))
end
end # Nil

View file

@ -20,9 +20,9 @@ module Mutant
# @api private
#
def dispatch
# noop
end
end
end
end
end
end # # Noop
end # Node
end # Mutator
end # Mutant