summaryrefslogtreecommitdiff
path: root/doc/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'doc/NEWS')
-rw-r--r--doc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 92a499ec6c..5966d70ac3 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -135,7 +135,10 @@ Compatible
o Numeric#fdiv
* Range
o Range#cover?
- o Range#include?
+ o Range#include? iterates over elements and compares the
+ given value with each element unless the range is numeric.
+ Use Range#cover? for the old behavior, i.e. comparison
+ with boundary values.
o Range#min, Range#max
* Regexp
o Regexp#=== matches symbols