← Reference

hash-methods

Ruby hash-methods reference.

Hash#except

Return a new hash with specified keys excluded, useful for filtering sensitive data before passing hashes to other methods.

hash.except(*keys) -> hash