Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/cfn_monitor/utils.rb
Instance Method Summary collapse
Instance Method Details
#without(*keys) ⇒ Object
35 36 37 |
# File 'lib/cfn_monitor/utils.rb', line 35 def without(*keys) dup.without!(*keys) end |
#without!(*keys) ⇒ Object
39 40 41 |
# File 'lib/cfn_monitor/utils.rb', line 39 def without!(*keys) reject! { |key| keys.include?(key) } end |