summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-18 23:00:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-18 23:09:11 +0900
commit50c13eb718d961c333ac832e734dae21ca7a8330 (patch)
tree66d9313e2d952a916d97ababdecb2f75e52784ba /NEWS.md
parent82ca8c73034b0a522fd2970ea39edfcd801955fe (diff)
NEWS about Hash#except ENV#except [Feature #15822]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 8b92aa45b0..4f62c00d21 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -84,6 +84,13 @@ Outstanding ones only.
* Dir.glob and Dir.[] now sort the results by default, and
accept `sort:` keyword option. [[Feature #8709]]
+* ENV
+
+ * New method
+
+ * ENV.except, which returns a hash excluding the given keys
+ and their values. [[Feature #15822]]
+
* Hash
* Modified method
@@ -91,6 +98,11 @@ Outstanding ones only.
* Hash#transform_keys now accepts a hash that maps keys to new
keys. [[Feature #16274]]
+ * New method
+
+ * Hash#except, which returns a hash excluding the given keys
+ and their values. [[Feature #15822]]
+
* Kernel
* Modified method
@@ -227,3 +239,4 @@ Excluding feature bug fixes.
[Feature #16746]: https://bugs.ruby-lang.org/issues/16746
[Feature #16754]: https://bugs.ruby-lang.org/issues/16754
[GH-2991]: https://github.com/ruby/ruby/pull/2991
+[Feature #15822]: https://bugs.ruby-lang.org/issues/15822