From: Daniel DeLorme Date: 2006-07-04T12:10:50+09:00 Subject: Re: About 1.9 #__method__ feature. Gregory Seidman wrote: > On Tue, Jul 04, 2006 at 12:48:18AM +0900, ara.t.howard@noaa.gov wrote: > } basically i'm proposing a 'caller' like interface which returns an array > } of objects having all the 'location' information, including > } scope/binding. this could be amazingly useful. > > +1 +2, it's brilliant! "where" is a bit non-descriptive though; "callstack" or something similar to "caller" might be better. I've somtimes wanted a way to get at the binding of the caller but Binding.of_caller is just too much of a hack and I can't bring myself to use it. But this would be a very elegant solution. Daniel