free_mutant/lib/mutant/mutator/node/noop.rb

26 lines
389 B
Ruby
Raw Normal View History

2013-07-24 00:58:10 -04:00
module Mutant
class Mutator
class Node
# Mutation emitter to handle noop nodes
class Noop < self
2013-07-24 00:58:10 -04:00
handle(:block_pass, :cbase)
2013-07-24 00:58:10 -04:00
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
# noop
2013-07-24 00:58:10 -04:00
end
end # Noop
2013-07-24 00:58:10 -04:00
end # Node
end # Mutator
end # Mutant