Issue #15822 has been updated by matz (Yukihiro Matsumoto).


You have provided the use-case, and I understand the need.  It's tempting the name `exclude` but `except` is OK too. 
Accepted.

Matz.


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

* Author: timoschilling (Timo Schilling)
* Status: Open
* Priority: Normal
----------------------------------------
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>