From: Norman Makoto Su Date: 2002-04-25T15:16:50+09:00 Subject: Re: outputting method name > require 'rbt/hacks/call_stack' > def foo > p caller_func(-1) > end > foo() #=> :foo > > Paul > % ruby -e 'def foo; p caller(0); end; foo' > ["-e:1:in `foo'", "-e:1"] > > matz. > Thanks for the answers! Just what I needed.