From: Christoph Date: 2003-01-14T21:54:41+09:00 Subject: Re: trouble understanding const_set() "Chris Pine" wrote .... > Any help would be much appreciated, This has little to do with const_set - its essentially a consequenz of general ``constant'' scoping rules . --- class Foo def Foo.foo const_set 'Constant', 'just a string' puts self.inspect puts Constant end Constant = 'surprise' end $a = Object.new class Bar < Foo def $a.show puts Constant end end Bar.foo $a.show --- Bar surprise just a string --- /Christoph