title: [ruby]Get file, parse text and create date object
body: <p>I have a raw .txt file formatted as such:</p>
  
  <pre><code>01.01.2017;New Year
  16.04.2017;Easter
  25.12.2017;Christmas
  </code></pre>
  
  <p>(Sidenote: dates are formatted as dd.mm.yyyy)</p>
  
  <p>I'm trying to read this file, slice the text per line and make a hash out of it, with the key being the date, and its value the name of the corresponding public holiday.</p>
  
  <p>I've already gotten so far:</p>
  
  <pre><code>holidays = Hash[*File.read('holidays.txt').split(/;|\n/)]
  </code></pre>
  
  <p>This results in the dates being set as strings, not date objects.</p>
  
  <p>Any ideas as to how I could then transform these strings to Date (or DateTime) objects?</p>
  
  <p>P.S.: I'm only using Ruby, so no Rails helpers...</p>