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/method
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
..
fixtures Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
shared Don't display singleton class in Method#inspect unless method defined there 2020-03-09 07:57:16 -07:00
arity_spec.rb
call_spec.rb
case_compare_spec.rb
clone_spec.rb
compose_spec.rb Decide lambdaness of (f << g) using g (#2729) 2019-12-30 17:47:58 -05:00
curry_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
element_reference_spec.rb
eql_spec.rb
equal_value_spec.rb
hash_spec.rb Update to ruby/spec@8d74d49 2019-06-27 21:02:36 +02:00
inspect_spec.rb
name_spec.rb
original_name_spec.rb Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
owner_spec.rb
parameters_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
receiver_spec.rb
source_location_spec.rb
super_method_spec.rb
to_proc_spec.rb
to_s_spec.rb
unbind_spec.rb