From: Eugene Pimenov Date: 2009-08-27T12:40:42+09:00 Subject: [ruby-core:25152] [Bug #2003] respond_to? not working 1.9.1p243 OSX Issue #2003 has been updated by Eugene Pimenov. 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. >> def test_method; end => nil >> methods.include?(:test_method) => false >> private_methods.include?(:test_method) => true respond_to? returns false for private methods ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2003 ---------------------------------------- http://redmine.ruby-lang.org