in reply to Who am I? Inheritance question

If I get you right you want to put code into the superclass that is dependend on it's subclass. This is generally a design flaw. the superclass should know nothing about it's subclasses.

If you mean it the other way round, you just need to call isa(CLASS) on the object.


holli, /regexed monk/