free_mutant/lib/mutant/mutator/define.rb

23 lines
371 B
Ruby
Raw Normal View History

2012-08-14 06:04:48 -04:00
module Mutant
class Mutator
class Define < self
handle(Rubinius::AST::Define)
handle(Rubinius::AST::DefineSingleton)
handle(Rubinius::AST::DefineSingletonScope)
2012-08-14 06:04:48 -04:00
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
2012-08-14 06:40:27 -04:00
emit_body_mutations
2012-08-14 06:04:48 -04:00
end
end
end
end