Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/fox/core_ext/hash.rb
Instance Method Summary collapse
Instance Method Details
#except(*keys) ⇒ Object
11 12 13 14 15 |
# File 'lib/fox/core_ext/hash.rb', line 11 def except(*keys) copy = self.dup keys.each { |key| copy.delete(key) } copy end |