Issue #6110 has been reported by Dan Kubb.

----------------------------------------
Bug #6110: #respond_to? returns true on 1.9.3 and false on ruby-head
https://bugs.ruby-lang.org/issues/6110

Author: Dan Kubb
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2012-03-03 trunk 34887) [x86_64-darwin10.8.0]


Under ruby-head, when calling #respond_to? on another object of the same type false is always returned, even though the method can be called. However, this returns true under ruby 1.9.3.

Attached is a test that reproduces the problem.


-- 
http://bugs.ruby-lang.org/