title: Ruby hash of arrays
body: <p>So I have a hash like this:</p>
  
  <pre><code>hash  = { "a"=&gt;[1, 2, 3], "b"=&gt;[18, 21, 9] }
  </code></pre>
  
  <p>I would like to get the whole array, not just the values.<br>
  It seems like this should work:</p>
  
  <pre><code>hash.each{|key,value| value}
  
  [1, 2, 3]
  [18, 21, 9]
  </code></pre>
  
  <p>But what I get is the individual elements of the array-1, 2, 3.  I know I can do hash.values, but that gives an array of arrays with no keys.  I need the key/value(array) pair.  Thoughts?</p>