mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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]
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| fixtures | ||
| shared | ||
| arity_spec.rb | ||
| call_spec.rb | ||
| case_compare_spec.rb | ||
| clone_spec.rb | ||
| compose_spec.rb | ||
| curry_spec.rb | ||
| element_reference_spec.rb | ||
| eql_spec.rb | ||
| equal_value_spec.rb | ||
| hash_spec.rb | ||
| inspect_spec.rb | ||
| name_spec.rb | ||
| original_name_spec.rb | ||
| owner_spec.rb | ||
| parameters_spec.rb | ||
| receiver_spec.rb | ||
| source_location_spec.rb | ||
| super_method_spec.rb | ||
| to_proc_spec.rb | ||
| to_s_spec.rb | ||
| unbind_spec.rb | ||