free_mutant/lib/mutant/mutator/noop.rb
Markus Schirp bb9809fa39 Reorganize unit specs.
* The old nameing did not make any sense. Sorry for not useing git mv.
2012-08-01 14:13:57 +02:00

22 lines
377 B
Ruby

module Mutant
class Mutator
# Mutator that does do not mutations on ast
class Noop < Mutator
# Literal references to self do not need to be mutated.
handle(Rubinius::AST::Self)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
# noop
end
end
end
end