Skip to content

Commit

Permalink
Add class ref to UnboundMethod#owner doc
Browse files Browse the repository at this point in the history
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: #2156
  • Loading branch information
okuramasafumi authored and nobu committed Apr 27, 2019
1 parent ecf660e commit 7fe0485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proc.c
Expand Up @@ -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
*/
Expand Down

0 comments on commit 7fe0485

Please sign in to comment.