From: "steenslag (siep korteling)" Date: 2022-03-23T21:16:27+00:00 Subject: [ruby-core:108044] [Ruby master Bug#18656] Documentation of Comparable Module: clamp method not mentioned in introduction Issue #18656 has been reported by steenslag (siep korteling). ---------------------------------------- Bug #18656: Documentation of Comparable Module: clamp method not mentioned in introduction https://bugs.ruby-lang.org/issues/18656 * Author: steenslag (siep korteling) * Status: Open * Priority: Normal * ruby -v: ruby 3.1.0p0 * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: