From: Yukihiro Matsumoto Date: 2010-07-13T04:06:26+09:00 Subject: [ruby-core:31219] Re: [Bug #3562] regression in respond_to? Hi, In message "Re: [ruby-core:31217] [Bug #3562] regression in respond_to?" on Tue, 13 Jul 2010 03:45:55 +0900, Aaron Patterson 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.