title: Using Ruby, Reading a file, containing name/value pairs into a hash
body: <p>I have a file that has a name/value pair on each line, I want to open the file, read each line and initialize a hash.</p>
  
  <p>file:</p>
  
  <pre><code>john, 234
  joe, 2222
  </code></pre>
  
  <p>And load a hash so I can loop through the key value pairs.</p>