aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-20 15:06:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-20 15:06:56 +0000
commita302bf03adb7e2b8a81f977703d98be6898c8fc2 (patch)
treef33ad9fcd4569f51d7f0b85fefb751597211438d /NEWS
parent69ac3060bd331d165068b7cd150dbd526dcf3034 (diff)
downloadruby-a302bf03adb7e2b8a81f977703d98be6898c8fc2.tar.gz
Enumerable#to_h with block and so on
[Feature #15143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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]