Hi,

In message "Re: [ruby-core:31217] [Bug #3562] regression in respond_to?"
    on Tue, 13 Jul 2010 03:45:55 +0900, Aaron Patterson <redmine / ruby-lang.org> writes:

|This code works in 1.8, 1.9.2, but not trunk.  This change to respond_to?() breaks existing ruby code[1].  Is that intended?  Could we compromise by including private and protected methods when an object inflects upon itself?

Hmm, that check is costly for respond_to?()  Could you replace

  respond_to?(:"do_#{name}")

by

  respond_to?(:"do_#{name}",true)

?

							matz.