Mega Code Archive
Categories
/
Ruby
/
Hash
You can test to see if a hash is empty with empty
months = Hash.new months.empty? # => true