I have a hash that maps integers to arrays. For example
{1 => [\"abc\"], 2 => [\"ccc\", \"ffffd\"]}
How do I get all the keys from my hash
{1 => ["abc"], 2 => ["ccc", "ffffd"]}.select{|_, a| a.length > 1}.keys # => [2]