Convert array of hashes to array
<p>I have an array of hashes from which I need the values of the hashes in a new array. The array of hashes look likes this, with a couple thousand of them.</p>

<pre><code>array = [{:code=&gt;"404"}, {:code=&gt;"302"}, {:code=&gt;"200"}]
</code></pre>

<p>I have tried to look this up but have only found out how to convert from a hash.</p>

<p>How would I go about doing this?</p>