Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/settingslogic.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#deep_delete_nil ⇒ Object
14 15 16 |
# File 'lib/settingslogic.rb', line 14 def deep_delete_nil delete_if{|k, v| v.nil? or v.instance_of?(Hash) && v.deep_delete_nil.empty?} end |