summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-06 10:37:06 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-07 09:52:06 -0500
commita32e5e1b970298590200c2a63e5d4bacce4355ac (patch)
tree034bd876bcfe3f21a3f47d1de8caf65caba9ebb3 /range.c
parentf9a2802bc58b611a16108bbaf3473cb6195eac0d (diff)
downloadruby-a32e5e1b970298590200c2a63e5d4bacce4355ac.tar.gz
[DOC] Use RDoc link style for links in the same class/module
I used this regex: (?<=\[)#(?: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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/range.c b/range.c
index 8d8fe11991..0acbc36045 100644
--- a/range.c
+++ b/range.c
@@ -2213,11 +2213,11 @@ range_count(int argc, VALUE *argv, VALUE range)
*
* Here, class \Range provides methods that are useful for:
*
- * - {Creating a Range}[#class-Range-label-Methods+for+Creating+a+Range]
- * - {Querying}[#class-Range-label-Methods+for+Querying]
- * - {Comparing}[#class-Range-label-Methods+for+Comparing]
- * - {Iterating}[#class-Range-label-Methods+for+Iterating]
- * - {Converting}[#class-Range-label-Methods+for+Converting]
+ * - {Creating a Range}[rdoc-ref:Range@Methods+for+Creating+a+Range]
+ * - {Querying}[rdoc-ref:Range@Methods+for+Querying]
+ * - {Comparing}[rdoc-ref:Range@Methods+for+Comparing]
+ * - {Iterating}[rdoc-ref:Range@Methods+for+Iterating]
+ * - {Converting}[rdoc-ref:Range@Methods+for+Converting]
*
* === Methods for Creating a \Range
*