1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add class ref to UnboundMethod#owner doc

It refers to `Method#receiver` in the doc, but
there's no class reference in current doc.
Some tools automatically make it a link so it's useful.

Closes: https://github.com/ruby/ruby/pull/2156
This commit is contained in:
okuramasafumi 2019-04-27 11:18:25 +09:00 committed by Nobuyoshi Nakada
parent ecf660e438
commit 7fe04850d2
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

2
proc.c
View file

@ -1647,7 +1647,7 @@ method_original_name(VALUE obj)
* meth.owner -> class_or_module
*
* Returns the class or module that defines the method.
* See also receiver.
* See also Method#receiver.
*
* (1..3).method(:map).owner #=> Enumerable
*/