зеркало из https://github.com/github/ruby.git
[DOC] Correct docs for Comparable
This commit is contained in:
Родитель
038f9ade3c
Коммит
917e7eb50f
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:
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче