From: Trans Date: 2009-01-11T10:55:57+09:00 Subject: Re: Binding.of_caller examples don't work. On Jan 10, 3:49 pm, Doug wrote: > I'm trying to use the Binding class in the extensions libraryhttp://extensions.rubyforge.org/rdoc/index.html > > In particular, I want the method of_caller, but none of the examples > work for me > get 'undefined method or variable' for all that should be in the > caller's scope. > > local_variable returns an empty array. > > Is this broken? > ...using Ruby 1.8.6 Binding.of_caller is no longer possible. T.