[code language=”ruby”]
hash.all? { |k, v| v.present? }
[/code]