From: David Flanagan Date: 2007-12-22T09:44:56+09:00 Subject: Re: Some Ruby 1.9 loose ends to tie up Charles Oliver Nutter wrote: >> |2) Will Kernel.__callee__ be implemented so it works as documented in >> |1.9? If not, may I delete its rdoc comment? >> >> Oh, it's yet another unaddressed issue. I'd like to implement >> __callee__ as it described, but I have to ask Koichi how to do it. >> Stay tuned. > > I must have missed it, what is __callee__ supposed to do? > __method__ returns the name of the current method as defined. __callee__ is supposed to return the name of the current method, as invoked--this may be different when there are aliases. Currently, though __callee__ is the same as __method__. (I think maybe it worked before YARV integration).