Hi,
On Wed, Apr 28, 2010 at 8:49 AM, Yusuke Endoh <redmine / ruby-lang.org> 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)}