From: Gavin Sinclair Date: 2003-05-08T07:41:52+09:00 Subject: Re: ruby-dev summary #20112 - 20158 On Thursday, May 8, 2003, 2:35:14 AM, TAKAHASHI wrote: > [ruby-dev:20127] protected_instance_methods(true) > Hara suggested that klass::protected_instance_methods(true) > return an array of protected methods which are usable in > klass, not defined in klass. Matz replied he thought it's > a good behavior but difficult to implement. There is such an abundance of /.*methods/ methods that I make the following wistful suggestion. How about a single method "methods" that takes arguments: methods(:instance) methods(:private, :instance) methods(:public, :class) methods(:singleton) etc. I can't see it being done - too disruptive - but an interesting thing to think/talk about, anyway. Cheers, Gavin