Hi,

At Thu, 27 Aug 2009 12:40:42 +0900,
Eugene Pimenov wrote in [ruby-core:25152]:
> respond_to? works. The changed behavior is def test; end in
> global namespace. Ruby 1.9 makes it private while 1.8 makes
> it public.

No, it hasn't change.

$ /usr/bin/ruby -v -e 'def t;end' -e 'p respond_to?(:t), respond_to?(:t, true)'
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
false
true

$ ruby18 -v -e 'def t;end' -e 'p respond_to?(:t), respond_to?(:t, true)'
ruby 1.8.8dev (2009-06-16 ruby_1_8 23704) [x86_64-darwin9.0]
false
true

$ ruby19 -v -e 'def t;end' -e 'p respond_to?(:t), respond_to?(:t, true)'
ruby 1.9.2dev (2009-08-26 trunk 24657) [universal.x86_64-darwin9.0]
false
true

-- 
Nobu Nakada