2012-08-14 06:04:48 -04:00
|
|
|
module Mutant
|
|
|
|
class Mutator
|
|
|
|
class Define < self
|
|
|
|
|
|
|
|
handle(Rubinius::AST::Define)
|
2012-08-16 13:10:24 -04:00
|
|
|
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
|