Project

General

Profile

Actions

Bug #18656

closed

Documentation of Comparable Module: clamp method not mentioned in introduction

Added by steenslag (siep korteling) about 2 years ago. Updated about 2 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:108044]

Description

From the comparable docs ( https://ruby-doc.org/core-3.1.1/Comparable.html ): "Comparable uses <=> to implement the conventional comparison operators (<, <=, ==, >=, and >) and the method between?". clamp is not mentioned.

Actions

Also available in: Atom PDF

Like0
Like0