Hi!

In Smalltalk, any class knows its subclasses (at least the loaded
ones) which is often really useful if you do metalevel programming.  I
didn't find a way get this information in Ruby.

It might be possible to enumerate all objects and look for class
objects whose superclass is X, but that seems to be very inefficient.

I'd prefer if there'd be a more direct approach to this problem.

(And if I'm already on that topic, it would be great if Ruby would
have something like #allInstances, #allInstancesDo: (select or
enumerate of a given class in an efficient way) and some easy way (and
efficient way) to get a class by its Name).

bye
-- 
Stefan Matthias Aust \/ Truth Until Paradox