diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-02-06 10:30:11 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-02-07 09:52:06 -0500 |
commit | f9a2802bc58b611a16108bbaf3473cb6195eac0d (patch) | |
tree | a635324e276be2aad20146459287c69ae1388eef /range.c | |
parent | ecd469fad00611a947aecc6e1e914682d1eec65c (diff) | |
download | ruby-f9a2802bc58b611a16108bbaf3473cb6195eac0d.tar.gz |
[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
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2207,8 +2207,8 @@ range_count(int argc, VALUE *argv, VALUE range) * * First, what's elsewhere. \Class \Range: * - * - 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 \Range provides methods that are useful for: |