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:
parent
ecf660e438
commit
7fe04850d2
1 changed files with 1 additions and 1 deletions
2
proc.c
2
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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue