class Hash
def except!(*keys)
Experimental RBS support (using type sampling data from the type_fusion
project).
def except!: (*Array[] keys) -> untyped
This signature was generated using 42 samples from 2 applications.
hash.except!(:c) # => { a: true, b: false }
hash = { a: true, b: false, c: nil }
Removes the given keys from hash and returns it.
def except!(*keys) keys.each { |key| delete(key) } self end