module Nuggets::Hash::BlankMixin

Public Instance Methods

vain? → +true+ or +false+ click to toggle source

Returns true if all of hash's values are themselves vain.

# File lib/nuggets/object/blank_mixin.rb, line 93
def vain?
  blank? { |h| h.delete_if { |_, v| v.vain? } }
end