free_mutant/lib/mutant/mutator/node/noop.rb
2015-11-15 23:13:43 +00:00

22 lines
346 B
Ruby

module Mutant
class Mutator
class Node
# Mutation emitter to handle noop nodes
class Noop < self
handle(:block_pass, :cbase)
private
# Emit mutations
#
# @return [undefined]
def dispatch
# noop
end
end # Noop
end # Node
end # Mutator
end # Mutant