summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorokuramasafumi <masafumi.o1988@gmail.com>2019-04-27 11:18:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 12:35:41 +0900
commit7fe04850d21db1e17508fb8c05fd78fc079a71c6 (patch)
treec8b6835283f884d44c99daa5974144ba7a81a031 /proc.c
parentecf660e438320f501ce4e05e92a5d6c79fe4d54d (diff)
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
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 2f990f65e4..5ac26be428 100644
--- a/proc.c
+++ b/proc.c
@@ -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
*/