Class: Uorm::Hash
- Inherits:
-
Hash
- Object
- Hash
- Uorm::Hash
- Defined in:
- lib/uorm/hash.rb
Instance Method Summary collapse
Instance Method Details
#except(keys) ⇒ Object
3 4 5 |
# File 'lib/uorm/hash.rb', line 3 def except keys self.dup.except! keys end |
#except!(keys) ⇒ Object
7 8 9 10 |
# File 'lib/uorm/hash.rb', line 7 def except! keys Array(keys).each{ |key| self.delete(key) } self end |