Method: Hash#compact_blank

Defined in:
activesupport/lib/active_support/core_ext/enumerable.rb

#compact_blankObject

Hash#reject has its own definition, so this needs one too.



222
223
224
# File 'activesupport/lib/active_support/core_ext/enumerable.rb', line 222

def compact_blank # :nodoc:
  reject { |_k, v| v.blank? }
end