On Fri, 25 Aug 2006, Rick DeNatale wrote: > On 8/17/06, Eero Saynatkari <eero.saynatkari / kolumbus.fi> wrote: >> Henry Savr wrote: >> > Dear Ruby gurus: >> > >> > How to get the method's name inside itself. For example to send it to >> > Error Processor > >> >> I just do not see why this would be necessary. > > Actually, I'd be more interested in finding out which object called > me, or getting the equivalent of caller, but getting an array of the > 'self's down the call stack. > > I haven't figured out how to do that yet in Ruby. google 'binding of caller' then eval 'self', Binding.of_caller -a -- to foster inner awareness, introspection, and reasoning is more efficient than meditation and prayer. - h.h. the 14th dalai lama