Hello!

I want do do something like that:

def foo
  puts the_name_the_method_was_called_with
end ; alias bar foo

foo  =>  "foo"
bar  =>  "bar"

Is there a thing like the_name_the_method_was_called_with?

Thanks in advance,


  -kfk

-- 
UNIX has grown fat.

         -Rob Pike, 1983