Gavin Kistner
10/17/2006 4:17:00 PM
Artur Merke wrote:
> class A
> @@class_variable
> @class_instance_variable
> def initialize
> @instance_variable
> end
> end
>
> I hope this is the correct naming for this variables
That's the way I think of them, too. It might help you to remember that
instance variables are just instance variables, regardless of where they
are stored. "Class instance variables" are just normal instance
variables that happen to be stored on a Class object. Nothing special
about them.