From: gabriele renzi Date: 2005-01-18T03:36:07+09:00 Subject: Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod Martin DeMello ha scritto: > David A. Black wrote: > >>You're right -- I meant to clarify that I'm talking about 2.0 class >>vars, which as I understand it will be truly per-class and will differ >>from instance variables of Class objects principally in that they will >>be in scope in instance methods. I would rather not have a separate >>construct that overlaps so much with instance variables. > > > I can think of at least one good us for the current @@ variables - > subclassable GUI components that inherit hierarchy-shared look-and-feel > properties from the parent class. What would be the elegant way to do > this if @@ variables go per-class? constants ?