summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-06 10:30:11 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-07 09:52:06 -0500
commitf9a2802bc58b611a16108bbaf3473cb6195eac0d (patch)
treea635324e276be2aad20146459287c69ae1388eef /hash.c
parentecd469fad00611a947aecc6e1e914682d1eec65c (diff)
downloadruby-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 'hash.c')
-rw-r--r--hash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hash.c b/hash.c
index 06b4652cde..ece9adee06 100644
--- a/hash.c
+++ b/hash.c
@@ -7014,8 +7014,8 @@ static const rb_data_type_t env_data_type = {
*
* First, what's elsewhere. \Class \Hash:
*
- * - 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 \Hash provides methods that are useful for:
@@ -7327,8 +7327,8 @@ Init_Hash(void)
*
* First, what's elsewhere. \Class \ENV:
*
- * - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here].
- * - Extends {module Enumerable}[Enumerable.html#module-Enumerable-label-What-27s+Here],
+ * - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here].
+ * - Extends {module Enumerable}[rdoc-ref:Enumerable@What-27s+Here],
*
* Here, class \ENV provides methods that are useful for:
*