Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/i_wonder/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#delete_blank ⇒ Object
2 3 4 |
# File 'lib/i_wonder/core_ext.rb', line 2 def delete_blank delete_if{|k, v| v.blank? or v.instance_of?(Hash) && v.delete_blank.blank?} end |