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