From: "Bruce Williams" <bruce / codedbliss.com>


> On Friday 06 December 2002 04:54 am, Gavin Sinclair wrote:
> | The ObjectSpace solution should only require that the class has been
> | defined. Or perhaps that what you meant by "instantiated", since it could
> | certainly be interpreted that way.
>
> Ok, an honest mistake-- and to clarify on 'instantiation'; I meant instances
> of the actual subclasses being instantiated; not the instantiation of the
> subclasses at definition as instances of Class... the whole reason
> ObjectSpace sees them in the first place (*engages in self-flagelation*).

Hmmm.... OK, half marks for applied knowledge :)

> I'd still prefer my approach because it seems a little less 'heavy' (because
> it seems to take care of itself), but that may be just a matter of taste.

I prefer it too.  It's a very nice way to gather plugins.  Maybe that's what
the OP had in mind.

> - Bruce

Gavin