From: nobuyoshi nakada Date: 2005-12-07T11:07:46+09:00 Subject: Re: 1.8.4 and respond_to Hi, At Tue, 6 Dec 2005 23:14:25 +0900, Caleb Tennis wrote in [ruby-core:06853]: > It seems that since 1.8.3 the behavior of rb_respond_to is now defaulting to > not include private methods, which it did before. I understand the motive > here, as it will cause people to start using rb_obj_respond_to, which is more > like Object#respond_to?. However, this broke code in QtRuby and quite > possibly will break other extensions. How broken? > So, I guess what I'm asking is if there's a good reason for altering this > behavior between minor releases? It seems much more suited for breaking > between a larger release, in my humble opinion. The reason was: 1) it returned true even if a global method was matched, 2) it didn't conform to the default behavior of Object#respond_to?. -- Nobu Nakada