Hi,

At Mon, 26 Jul 2010 16:07:12 +0900,
Suraj Kurapati wrote in [ruby-core:31485]:
> ## ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux]
> >> respond_to? :gem
> => false
> >> method :gem
> => #<Method: Object(Kernel)#gem>

$ ./ruby -v -e 'p respond_to?(:gem, true)'
ruby 1.9.2dev (2010-07-24 revision 28749) [i386-darwin9.8.0]
true

> I think the new behavior is strange.  How 
> can #respond_to? fail when #method succeeds?

Kernel#respond_to? returns false if the method is private.

-- 
Nobu Nakada