Hi,
In message "outputting method name"
on 02/04/25, "Norman Makoto Su" <normsu / slab.tnr.sharp.co.jp> writes:
|Is there a way to output the current method's name? for example,
Retrieve the method name from "caller" output.
% ruby -e 'def foo; p caller(0); end; foo'
["-e:1:in `foo'", "-e:1"]
matz.