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.

Updated by jeremyevans0 (Jeremy Evans) about 2 years ago

  • Status changed from Open to Rejected

It's mentioned in the "What's Here" section: https://ruby-doc.org/core-3.1.1/Comparable.html#module-Comparable-label-What-27s+Here . The formatting looks off (which I'll fix).

Actions

Also available in: Atom PDF

Like0
Like0