From: nobu.nokada@... Date: 2002-08-09T00:53:15+09:00 Subject: Re: Is There an Inverse of 'rb_define_method'? Hi, At Thu, 8 Aug 2002 02:24:16 +0900, William Djaja Tjokroaminata wrote: > I don't think it is similar to get the name of a variable. When Ruby > calls a method, in the background it must call a C function. I want to > get the pointer of this function, not its name. No such method is provided by the reason as you wrote: > The problem is in my case, someone else (the user) will define the method > in Ruby, and so I cannot record it when the method is defined. Instead, these may be possible. VALUE method = rb_obj_method(obj, rb_intern("func_name")); rb_method_call(n, argv, method); -- Nobu Nakada