title: Best way to parse a table in Ruby
body: <p>I'd like to parse a simple table into a Ruby data structure. The table looks like this:</p>
  
  <p><a href="http://img232.imageshack.us/img232/446/picture5cls.png" rel="nofollow noreferrer">alt text http://img232.imageshack.us/img232/446/picture5cls.png</a> <a href="http://img232.imageshack.us/img232/446/picture5cls.png" rel="nofollow noreferrer">http://img232.imageshack.us/img232/446/picture5cls.png</a></p>
  
  <p><strong>Edit:</strong> <a href="http://pastie.org/572069" rel="nofollow noreferrer">Here is the HTML</a></p>
  
  <p>and I'd like to parse it into an array of hashes. E.g.,:</p>
  
  <pre><code>schedule[0]['NEW HAVEN'] == '4:12AM'
  schedule[0]['Travel Time In Minutes'] == '95'
  </code></pre>
  
  <p>Any thoughts on how to do this? Perl has <a href="http://search.cpan.org/dist/HTML-TableExtract/lib/HTML/TableExtract.pm" rel="nofollow noreferrer">HTML::TableExtract</a>, which I think would do the job, but I can't find any similar library for Ruby.</p>