mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Use RDoc link style for links to other classes/modules
I used this regex: ([A-Za-z]+)\.html#(?:class|module)-[A-Za-z]+-label-([A-Za-z0-9\-\+]+) And performed a global find & replace for this: rdoc-ref:$1@$2
This commit is contained in:
parent
ecd469fad0
commit
f9a2802bc5
Notes:
git
2022-02-07 23:52:32 +09:00
9 changed files with 29 additions and 29 deletions
4
struct.c
4
struct.c
|
@ -1562,8 +1562,8 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self)
|
|||
*
|
||||
* First, what's elsewhere. \Class \Struct:
|
||||
*
|
||||
* - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here].
|
||||
* - Includes {module Enumerable}[Enumerable.html#module-Enumerable-label-What-27s+Here],
|
||||
* - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here].
|
||||
* - Includes {module Enumerable}[rdoc-ref:Enumerable@What-27s+Here],
|
||||
* which provides dozens of additional methods.
|
||||
*
|
||||
* Here, class \Struct provides methods that are useful for:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue