From: Stefano Crocco Date: 2008-08-12T01:44:54+09:00 Subject: Re: Bindings and Context On Monday 11 August 2008, Patrick Li wrote: > Ah. okay. > That really helps. > > So is this a correct interpretation? > > Every block/closure has an associated binding. > > The binding can be loosely described as > -a list of local variables > -and self. Yes, I think so > Calls to instance variables are shorthand for "self.@myInstanceVariable" > and calls to instance methods are shorthand for "self.myInstanceMethod" > > Does that sound alright? that's perfectly correct for calls to instance methods. For instance variables, it's true only conceptually, since ruby doesn't allow to call them thay way. Stefano