Ha! Oops, wrong order, I meant:

   def method_missing(meth, *args, &block)
     # really load class or get instance, and then call method on it
     c = SomeAutoloader.get(@@name).send(meth, *args, &block)
     remove_class_variable(:@@name)
     c
   end

-- 
Posted via http://www.ruby-forum.com/.