diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-18 23:00:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-18 23:09:11 +0900 |
commit | 50c13eb718d961c333ac832e734dae21ca7a8330 (patch) | |
tree | 66d9313e2d952a916d97ababdecb2f75e52784ba | |
parent | 82ca8c73034b0a522fd2970ea39edfcd801955fe (diff) | |
download | ruby-50c13eb718d961c333ac832e734dae21ca7a8330.tar.gz |
NEWS about Hash#except ENV#except [Feature #15822]
-rw-r--r-- | NEWS.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |