Class variables and inheritance

I know that Class variables a tied to the class they are defined in but
how can I make @@foo belong to Sub1 / Sub2 without explicitly declaring
it there?

You don't prefer to use class instance variables ?

Guy Decoux

Actually no, because I do meta programming where I need class
varbiables.

-billy.

···

On Wed, Sep 04, 2002 at 01:11:17AM +0900, ts wrote:

I know that Class variables a tied to the class they are defined in but
how can I make @@foo belong to Sub1 / Sub2 without explicitly declaring
it there?

You don’t prefer to use class instance variables ?


Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0
eLösungen 89077 Ulm Fax: +49-731-399 499-9