title: Ruby convert an Array to Hash values with specific keys
body: <p>Is there a way to pull the values from an array and assign them each a unique key in Ruby?</p>
  
  <p>I want to be able to turn this array:</p>
  
  <pre><code>["12", "21", "1985"]
  </code></pre>
  
  <p>Into this hash:</p>
  
  <pre><code>{:month =&gt; "12", :day =&gt; "21", :year =&gt; "1985"}
  </code></pre>
  
  <p>I would rather not assign each value individually, like this:</p>
  
  <pre><code>arr = ["12", "21", "1985"]
  bday_hash = {:month =&gt; arr[0], :day =&gt; arr[1], :year =&gt; arr[2]}
  </code></pre>