aboutsummaryrefslogtreecommitdiffstats
path: root/compar.c
diff options
context:
space:
mode:
authorWai-Wai Ng <waiwai95@gmail.com>2023-04-09 17:09:03 +0100
committerGitHub <noreply@github.com>2023-04-10 01:09:03 +0900
commit917e7eb50f5371892de9af13ba7d4134bb9a21b4 (patch)
tree51e9474ed877521f8f3c4712570f02a5ba63b265 /compar.c
parent038f9ade3c4d965415e4956561975454cf9eeb21 (diff)
downloadruby-917e7eb50f5371892de9af13ba7d4134bb9a21b4.tar.gz
[DOC] Correct docs for Comparable
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compar.c b/compar.c
index dc157fd241..2b34ebb062 100644
--- a/compar.c
+++ b/compar.c
@@ -289,8 +289,8 @@ cmp_clamp(int argc, VALUE *argv, VALUE x)
* - #<: Returns whether +self+ is less than the given object.
* - #<=: Returns whether +self+ is less than or equal to the given object.
* - #==: Returns whether +self+ is equal to the given object.
- * - #>: Returns whether +self+ is greater than or equal to the given object.
- * - #>=: Returns whether +self+ is greater than the given object.
+ * - #>: Returns whether +self+ is greater than the given object.
+ * - #>=: Returns whether +self+ is greater than or equal to the given object.
* - #between?: Returns +true+ if +self+ is between two given objects.
* - #clamp: For given objects +min+ and +max+, or range <tt>(min..max)</tt>, returns:
*