aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS.md
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-03-09 07:57:16 -0700
committerGitHub <noreply@github.com>2020-03-09 07:57:16 -0700
commite02bd0e713ef920e6d12c27f16548f48ec5c2cf0 (patch)
treea04c6ec68aa6c9d177d09ebb5fc79bb0ece3af7e /NEWS.md
parentecef163cf9bbdffcf1466addc39daa92084d6b53 (diff)
downloadruby-e02bd0e713ef920e6d12c27f16548f48ec5c2cf0.tar.gz
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]
Diffstat (limited to 'NEWS.md')
0 files changed, 0 insertions, 0 deletions