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 Fixed misspellings 2019-12-20 09:32:42 +09:00
array Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
basicobject Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
binding Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
builtin_constants Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
class Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
comparable Comparable#clamp with a range [Feature #14784] 2019-10-16 01:42:34 +09:00
complex Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
data Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
dir spec/ruby/core/dir/home_spec.rb: exclude Android 2020-02-13 22:56:42 +09:00
encoding spec/ruby/core/encoding/locale_charmap_spec.rb: locale_charmap is UTF-8 on Android 2020-02-13 23:00:03 +09:00
enumerable Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
enumerator Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
env Fixed misspellings 2019-12-20 09:32:42 +09:00
exception Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
false [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
fiber Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
file Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
filetest Update to ruby/spec@8d74d49 2019-06-27 21:02:36 +02:00
float Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
gc Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
hash Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
integer Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
io Remove support for passing nil to IO#ungetc 2020-02-27 10:17:54 -08:00
kernel Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
main Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
marshal Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
matchdata Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
math Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
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 [ruby/spec] Just test that sleep completes 2020-02-06 15:42:16 +09:00
nil Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
numeric Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
objectspace Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
proc Proc made by Symbol#to_proc should be a lambda [Bug #16260] 2020-02-19 15:46:26 +09:00
process spec/ruby/core/process/exec_spec.rb: remove a guard for openbsd 2020-03-05 18:25:47 +09:00
queue Update to ruby/spec@cdd6ff7 2018-11-27 20:38:57 +00:00
random Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
range Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
rational Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
regexp Update version guard 2020-01-15 10:50:53 +09:00
signal Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
sizedqueue Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
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 Expand Symbol#to_proc specs to be clearer 2020-02-22 14:43:52 +01:00
systemexit
thread Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
threadgroup Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
time Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
tracepoint Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
true [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
unboundmethod Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
warning Update to ruby/spec@15c9619 2019-04-27 18:53:23 +02:00