Paul Brannan
4/11/2008 3:11:00 PM
On Fri, Apr 11, 2008 at 08:40:08AM +0900, Ken Bloom wrote:
> Does anybody know of a way to get access in Ruby 1.9 to the binding of
> the caller of the function that's currently executing?
Pass it in explicitly:
foo(arg1, arg2, binding)
Being able to get the binding of the caller prevents desirable
optimizations.
Paul