On 3/20/07, Yukihiro Matsumoto <matz / ruby-lang.org> wrote:
> Hi,
>
> In message "Re: __method__ and __callee__"
>     on Tue, 20 Mar 2007 13:41:34 +0900, Gary Wright <gwtmp01 / mac.com> writes:
>
> |It looks like __method__ and __callee__ got lost in
> |the merge of YARV into eval.c.
> |
> |Any chance they can be added back in?
>
> Done, partially.  __callee__ does not work yet to get alias name.

Any chance of getting away from "shadow methods"? In this case an
object akin to self seems appropriate and would be more versatile. For
example, "this" seems like a good term.

  def foo
    this.name
    this.callee
    this.arity
    ...

T.