except!(*keys)
public
Removes the given keys from hash and returns it.
hash = { a: true, b: false, c: nil }
hash.except!(:c)
hash
# File activesupport/lib/active_support/core_ext/hash/except.rb, line 20
def except!(*keys)
keys.each { |key| delete(key) }
self
end