From 7fe04850d21db1e17508fb8c05fd78fc079a71c6 Mon Sep 17 00:00:00 2001 From: okuramasafumi Date: Sat, 27 Apr 2019 11:18:25 +0900 Subject: [PATCH] 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 --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */