From: "Wolfgang Nádasi-Donner" Date: 2007-10-02T23:52:12+09:00 Subject: Re: binding_of_caller gabriele renzi wrote: > I can't answet the question, but I believe you can get that > functionality > via the gem ruby-debug, now. Thank you for this quick response. I've installed it now, and must find a way to make it work ;-) But my general question is still open, because it should be usable without the debugger. I would like to have a method "Kernel#binding_of_caller" (or with a different name), which returns the Binding object of the caller's environment or "nil" if it is called on top leven environment. If a method with this features doesn't exist somewhere deep inside Ruby now, I tend to write a RCR, but will ask before if it is wanted by one person (=WoNáDo) only. Wolfgang Nádasi-Donner -- Posted via http://www.ruby-forum.com/.