From: George Ogata Date: 2002-08-07T02:41:38+09:00 Subject: Re: Is There an Inverse of 'rb_define_method'? William Djaja Tjokroaminata wrote: > Hi, > > Using "rb_define_method", we can associate a method string with a function > pointer. > > Given a method string, is there an easy way to get the function pointer > without going deep in the Ruby internals? > > Regards, > > Bill I think this is similar to trying to get the name of a variable referring to an instance. See thread starting at [ruby-talk: 44901] for why this is probably a dubious thing to do. Perhaps you can hash the method string to the method name(s) when you define it?