summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-26 21:07:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-26 21:13:16 +0900
commit300f4677c93fb7ce312bba27e50b0af51ce8ba2e (patch)
treef0f45ede51984ceaf0c37cdb8059cd36feb43280 /hash.c
parent4acc757d04234d0b128429c152a1ccd96a817cf3 (diff)
[DOC] Use simple references to operator methods
Method references is not only able to be marked up as code, also reflects `--show-hash` option. The bug that prevented the old rdoc from correctly parsing these methods was fixed last month.
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 27b4390345..da85fd35c6 100644
--- a/hash.c
+++ b/hash.c
@@ -7063,11 +7063,11 @@ static const rb_data_type_t env_data_type = {
*
* ==== Methods for Comparing
*
- * - {<}[#method-i-3C]: Returns whether +self+ is a proper subset of a given object.
- * - {<=}[#method-i-3C-3D]: Returns whether +self+ is a subset of a given object.
+ * - #<: Returns whether +self+ is a proper subset of a given object.
+ * - #<=: Returns whether +self+ is a subset of a given object.
* - #==: Returns whether a given object is equal to +self+.
- * - {>}[#method-i-3E]: Returns whether +self+ is a proper superset of a given object
- * - {>=}[#method-i-3E-3D]: Returns whether +self+ is a proper superset of a given object.
+ * - #>: Returns whether +self+ is a proper superset of a given object
+ * - #>=: Returns whether +self+ is a proper superset of a given object.
*
* ==== Methods for Fetching
*