[ruby-core:95386] [Ruby master Feature#15822] Add Hash#except

From: matz@...
Date: 2019-10-17 06:42:08 UTC
List: ruby-core #95386
Issue #15822 has been updated by matz (Yukihiro Matsumoto).


`Hash#slice` was introduced via discussion in #13563. We didn't see the need for `Hash#except` yet. Any (real world use-case)?
I don't think the name `except` is the best name for the behavior.

Matz.

----------------------------------------
Feature #15822: Add Hash#except
https://bugs.ruby-lang.org/issues/15822#change-82099

* Author: timoschilling (Timo Schilling)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
According to `Hash#slice`, I would like to add `Hash#except`. Same for `ENV.except`.

---Files--------------------------------
hash-except.patch (4.05 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next