mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
e02bd0e713
Previously, if an object has a singleton class, and you call Object#method on the object, the resulting string would include the object's singleton class, even though the method was not defined in the singleton class. Change this so the we only show the singleton class if the method is defined in the singleton class. Fixes [Bug #15608] |
||
---|---|---|
.. | ||
call.rb | ||
eql.rb | ||
to_s.rb |