[DOC] Correct docs for Comparable

This commit is contained in:
Wai-Wai Ng 2023-04-09 17:09:03 +01:00 коммит произвёл GitHub
Родитель 038f9ade3c
Коммит 917e7eb50f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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:
*