bb9809fa39
* The old nameing did not make any sense. Sorry for not useing git mv.
22 lines
377 B
Ruby
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
|