From: "Hal E. Fulton" Date: 2002-07-17T02:33:41+09:00 Subject: Re: TkText no -textvariable workaround? ----- Original Message ----- From: "ts" To: "ruby-talk ML" Cc: Sent: Tuesday, July 16, 2002 12:23 PM Subject: Re: TkText no -textvariable workaround? > >>>>> "N" == Nat Pryce writes: > > N> If self has an attribute named 'a', then the receiver is self, and the > N> method is 'a='. > > No, `a' is always interpreted as a local variable in this example Very perceptive. True even if you do this: class Object attr_accessor :a end Within the object, I guess you always need self to access something like this. Any exceptions to this? Hal Fulton