title: Array modification in Ruby
body: <p>Is there a function to change the following array (basically to remove “str” and “=>” and “value”)  </p>
  
  <pre><code>[{"str"=&gt;"abc", "value"=&gt;1}, {"str"=&gt;"efg", "value"=&gt;2}, {"str"=&gt;"hij", "value"=&gt;3}]
  </code></pre>
  
  <p>to something like this:</p>
  
  <pre><code>[[abc, 1], [efg, 2], [hij,3]]
  </code></pre>
  
  <p>Thanks for your help</p>