Project

General

Profile

« Previous | Next » 

Revision e02bd0e7

Added by jeremyevans (Jeremy Evans) over 5 years ago

Don't display singleton class in Method#inspect unless method defined there

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]