Issue #15822 has been updated by marcandre (Marc-Andre Lafortune).


I think `except` should always return a Hash, since Matz prefers returning [the base class instead of subclass](https://bugs.ruby-lang.org/issues/6087#note-12) and we're changing a bunch of String methods too.

I will merge https://github.com/ruby/ruby/pull/3929 in a day or two unless there's an objection.

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

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