Method: Ardm::Ext::Hash.except!
- Defined in:
- lib/ardm/support/ext/hash.rb
.except!(hash, *keys) ⇒ Hash
Removes the specified keys from the given hash.
50 51 52 53 |
# File 'lib/ardm/support/ext/hash.rb', line 50 def self.except!(hash, *keys) keys.each { |key| hash.delete(key) } hash end |