Method: Hash#except
- Defined in:
- lib/xqsr3/extensions/hash/except.rb
#except(*keys_to_delete) ⇒ Object
Obtains a copy of the instance wherein any key-value pairs matching the keys specified in keys_to_delete are removed
26 27 28 29 |
# File 'lib/xqsr3/extensions/hash/except.rb', line 26 def except(*keys_to_delete) self.dup.except!(*keys_to_delete) end |