From: "David A. Black" Date: 2005-01-17T22:20:44+09:00 Subject: Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod Hi -- On Mon, 17 Jan 2005, trans. (T. Onoma) wrote: > I generally agree with you. I wonder if @@vars could just become somesort of > across the board initializer/accessor for instance vars (ie. @vars). > > class C > @@a = 10 > def a; @a; end > end > C.new.a #=> 10 Here you've got one object assigning to another object's instance variables, which is not good. David -- David A. Black dblack@wobblini.net