title: Convert CSV file into array of hashes
body: <p>I have a csv file, some hockey stats, for example:</p>
  
  <pre><code>09.09.2008,1,HC Vitkovice Steel,BK Mlada Boleslav,1:0 (PP)
  09.09.2008,1,HC Lasselsberger Plzen,RI OKNA ZLIN,6:2
  09.09.2008,1,HC Litvinov,HC Sparta Praha,3:5
  </code></pre>
  
  <p>I want to save them in an array of hashes. I don't have any headers and I would like to add keys to each value like <code>"time" =&gt; "09.09.2008"</code> and so on. Each line should by accessible like <code>arr[i]</code>, each value by for example <code>arr[i]["time"]</code>. I prefer <code>CSV</code> class rather than <code>FasterCSV</code> or <code>split</code>. Can you show the way or redirect to some thread where a similar problem was solved?</p>