Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/veritrans/cli.rb
Instance Method Summary collapse
Instance Method Details
#except(*keys) ⇒ Object
11 12 13 |
# File 'lib/veritrans/cli.rb', line 11 def except(*keys) dup.except!(*keys) end |
#except!(*keys) ⇒ Object
6 7 8 9 |
# File 'lib/veritrans/cli.rb', line 6 def except!(*keys) keys.each { |key| delete(key) } self end |