summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS25
1 files changed, 25 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 052b7b9a0c..d1be38cfb9 100644
--- a/NEWS
+++ b/NEWS
@@ -44,6 +44,11 @@ sufficient information, see the ChangeLog file or Redmine
* Added `Array#union` instance method.
[Feature #14097]
+ * Modified methods:
+
+ * `Array#to_h` now maps elements to new keys and values by the
+ block if given. [Feature #15143]
+
* Aliased methods:
* `Array#filter` is a new alias for `Array#select`.
@@ -74,6 +79,11 @@ sufficient information, see the ChangeLog file or Redmine
* `Enumerable`
+ * Modified methods:
+
+ * `Enumerable#to_h` now maps elements to new keys and values
+ by the block if given. [Feature #15143]
+
* Aliased methods:
* `Enumerable#filter` is a new alias for `Enumerable#select`.
@@ -86,6 +96,13 @@ sufficient information, see the ChangeLog file or Redmine
* `Enumerator::Lazy#filter` is a new alias for
`Enumerator::Lazy#select`. [Feature #13784]
+* `ENV`
+
+ * Modified methods:
+
+ * `ENV.to_h` now maps names and values to new keys and values
+ by the block if given. [Feature #15143]
+
* `Exception`
* New options:
@@ -100,6 +117,9 @@ sufficient information, see the ChangeLog file or Redmine
* `Hash#merge`, `update`, `merge!` and `update!` now accept multiple
arguments. [Feature #15111]
+ * `Hash#to_h` now maps keys and values to new keys and values
+ by the block if given. [Feature #15143]
+
* Aliased methods:
* `Hash#filter` is a new alias for `Hash#select`. [Feature #13784]
@@ -207,6 +227,11 @@ sufficient information, see the ChangeLog file or Redmine
* `Struct`
+ * Modified methods:
+
+ * `Hash#to_h` now maps keys and values to new keys and values
+ by the block if given. [Feature #15143]
+
* Aliased method:
* `Struct#filter` is a new alias for `Struct#select` [Feature #13784]