Forcing a BlockContext to evaluate in current context -djb
Anthony Hannan
ajh18 at cornell.edu
Sun Feb 9 17:59:41 UTC 2003
Derek Brans <brans at nerdonawire.com> wrote:
> I want to force a block to evaluate in the current context. How is this
> done?
> Example:
> [self class] valueInCurrentContext
> returns the class of the object that called "valueInCurrentContext"
How about "[:client | client class] value: self"
More information about the Squeak-dev
mailing list
|