free_mutant/lib/mutant/mutator/noop.rb

23 lines
377 B
Ruby
Raw Normal View History

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