free_mutant/lib/mutant/mutator/node/pattern_variable.rb
Markus Schirp fce6d5c06e Metric diven cleanups and break large classes
* Formal argument mutations are still very dirty :(
2012-12-29 20:12:48 +01:00

23 lines
392 B
Ruby

module Mutant
class Mutator
class Node
# Mutator for pattern variable
class PatternVariable < self
handle(Rubinius::AST::PatternVariable)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_attribute_mutations(:name)
end
end
end
end
end