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