free_mutant/lib/mutant/mutator/node/define.rb
2012-12-06 22:30:57 +01:00

24 lines
436 B
Ruby

module Mutant
class Mutator
class Node
class Define < self
handle(Rubinius::AST::Define)
handle(Rubinius::AST::DefineSingleton)
handle(Rubinius::AST::DefineSingletonScope)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_attribute_mutations(:body)
end
end
end
end
end