ruby - iterate through a hash containing key/array value pairs, and iterate through each value
<p>I have an hash that looks like this:</p>

<pre><code>{
  "key1": [
     "value1",
     "value2",
     "value3"
  ],
  "key2": [
     "value1",
     "value2",
     "value3",
     "value4",
     "value5"
  ],
  "key3": [
     "value1"
  ],
  "key4": [
     "value1",
     "value2"
  ]
}
</code></pre>

<p>How do I iterate through every keyN, while also looping through all the values in that key?</p>

<p>I have an array with all the keys if that helps.</p>

<p>Thanks</p>