From: nobu.nokada@... Date: 2003-06-22T21:41:48+09:00 Subject: Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) Hi, At Sun, 22 Jun 2003 21:26:48 +0900, Matthew Dempsky wrote: > Would warning the protected/private/public versions as simply > instance_methods cause any problems though? (The part of code in > question is only going to be present for one more version anyways.) You can get current method name by: rb_id2name(rb_frame_last_func()) > As a side note, however, I noticed that there seems to be a typo in the > #if/rb_warn part: the conditional is RUBY_VERSION_CODE is less than 181, > but the string warns about a change after 1.8.1 (not beginning with). I > can write a patch to fix that really quickly. :> "from 1.8.1"? -- Nobu Nakada