I have a hash that maps integers to arrays. For example
{1 => ["abc"], 2 => ["ccc", "ddd"]}
How do I get all the keys from my hash that have arrays with at least 2 elements in them?
I have a hash that maps integers to arrays. For example
{1 => ["abc"], 2 => ["ccc", "ddd"]}
How do I get all the keys from my hash that have arrays with at least 2 elements in them?
One more possible solution :)
Anything like this?