[DOC] Correct docs for Comparable
This commit is contained in:
parent
038f9ade3c
commit
917e7eb50f
Notes:
git
2023-04-09 16:09:26 +00:00
Merged: https://github.com/ruby/ruby/pull/7680 Merged-By: nobu <nobu@ruby-lang.org>
4
compar.c
4
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:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user