From: Dave Thomas Date: 2006-08-13T04:41:36+09:00 Subject: Re: Pickaxe Question --Apple-Mail-21-1010827535 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 12, 2006, at 14:21, Chris Gehlker wrote: > If I understand this example correctly, we are supposed to assume > that the > mapping of the instances of JukeboxButton to actual hardware > buttons happens, by magic, when we call the button initializer and > pass it the appropriate string with the super(label) message. But > if that's the case, I don't understand why button_pressed needs to > pass self as an argument to the @action.call message. It seems like > the songlist.start and songlist.pause methods just drop the argument. Yeah, that's true. I don't need to pass it in: it was there from the original example, where the block could interrogate the state of the button. Sorry it was confusing. Dave --Apple-Mail-21-1010827535--