From: Marc-Andre Lafortune Date: 2010-04-28T22:48:46+09:00 Subject: [ruby-core:29846] Re: [Bug #2496] Delegate: #methods and #public_methods should return delegated methods too Hi, On Wed, Apr 28, 2010 at 8:49 AM, Yusuke Endoh wrote: > The patch is slightly wrong; methods should call __getobj__.methods? The reason I've proposed `public_methods` is that delegates do not forward private methods. I feel it would be best if the following is true for any object, including delegates: obj.methods.all?{|m| obj.respond_to?(m, true)}