Hello!

I need to know from inside a C extension the Ruby method
which called a function (actually it is a C generic function
which serves a family of Ruby methods).

I do this:

char *methname = rb_id2name (rb_frame_last_func());

Is this the right way or is it time expensive? If it is not 
the fastest way to retrieve the method name, can I do something 
else?

Regards,
-- 
University of Athens			I bet the human brain 
Physics Department				is a kludge --Marvin Minsky