Actions
Bug #18656
closedDocumentation of Comparable Module: clamp method not mentioned in introduction
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) over 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
Like0
Like0