From: Michael Neumann Date: 2004-08-18T08:41:58+09:00 Subject: Re: Getting the binding of the caller Gavin Sinclair wrote: > It's been discussed on -talk this year, so a search in the archive for > 'binding' should help. Someone posted a continuations-based solution > that gives you basically what you want, but at considerable runtime > expense, IIRC. > > There's no plain-Ruby solution; i.e. the language doesn't go out of > its way to help you here. There's an RCR for it; can't remember which > one. > > However, blocks can be useful here, and may just be good enough for > you. Thanks, this trick did it for me. Of course, it's not 100% perfect but that doesn't matter. Regards, Michael