diff options
author | Wai-Wai Ng <waiwai95@gmail.com> | 2023-04-09 17:09:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 01:09:03 +0900 |
commit | 917e7eb50f5371892de9af13ba7d4134bb9a21b4 (patch) | |
tree | 51e9474ed877521f8f3c4712570f02a5ba63b265 /compar.c | |
parent | 038f9ade3c4d965415e4956561975454cf9eeb21 (diff) |
[DOC] Correct docs for Comparable
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7680
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: * |