1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core
Jeremy Evans e02bd0e713
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]
2020-03-09 07:57:16 -07:00
..
argf
array Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
basicobject
binding Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
builtin_constants
class
comparable
complex
data
dir
encoding
enumerable
enumerator
env
exception
false
fiber
file Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
filetest
float
gc
hash
integer Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
io
kernel Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
main
marshal
matchdata
math
method Don't display singleton class in Method#inspect unless method defined there 2020-03-09 07:57:16 -07:00
module Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
mutex
nil Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
numeric
objectspace
proc
process spec/ruby/core/process/exec_spec.rb: remove a guard for openbsd 2020-03-05 18:25:47 +09:00
queue
random
range
rational
regexp
signal
sizedqueue
string Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
struct Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
symbol
systemexit
thread Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
threadgroup
time Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
tracepoint
true
unboundmethod
warning