summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-15 22:32:10 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-16 01:42:34 +0900
commit929d5fd3b99c1413f737ff16cf0680698036e60f (patch)
tree396461f5fe1b6492d2246dd36b52aa83d9abe080 /NEWS
parent375cf129189f32f7be76ac525035bcde691a63e7 (diff)
Comparable#clamp with a range [Feature #14784]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2556
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a3283a66b1..36660defba 100644
--- a/NEWS
+++ b/NEWS
@@ -142,6 +142,12 @@ Array::
* Added Array#intersection. [Feature #16155]
+Comparable::
+
+ Modified method::
+
+ * Comparable#clamp now accepts a Range argument. [Feature #14784]
+
Complex::
New method::