From: Paul Brannan Date: 2002-11-26T06:34:47+09:00 Subject: Re: ruby-dev summary 18811-18923 On Tue, Nov 26, 2002 at 01:44:34AM +0900, Takaaki Tateishi wrote: > At Mon, 25 Nov 2002 23:36:04 +0900, > > > (3) Substituting class variables *outside of method definitions* give a > > > warning. This is an early detection of the error like constants. > > > > What do you mean by "substituting"? > > I means a substitution "@@var = val". Does this mean that the following will generate a warning: class Foo @@foo = 1 @@foo = 2 end Will there be a way to suppress this warning (e.g. with constants I can remove the constant before the second assignment)? Paul