From: Dumaiu Date: 2006-07-24T11:25:06+09:00 Subject: Re: when I say method_defined? I mean it! A quick test I did in irb suggests that methods(), instance_methods() and method_defined?() all register protected members, meaning that only the, uh, privates are omitted. I concede that it can be confusing, but there's no point submitting a RCR without an understanding of the current rationale. I suppose the idea is that because private methods are implementational, you shouldn't have to see them without specifically asking. Of course, prohibiting access would be out of character for Ruby; hence the optional respond_to?() parameter. I might like having an optional switch for instance_methods(), too, but in all I think the setup is satisfactorily logical and consistent. My thinking on the matter is a bit clearer now. How about you? -J