Joined May 2011
·

Abe Voelker

CCAP
·
Madison, WI USA
·
·
·

Perhaps you want to avoid dependencies, but you might want to consider Nokogiri instead of regex. At the bottom you can also just use map instead of a side-effecting each:

data = rows.map do |row|
  Hash[ [keys, row].transpose ]
end
Achievements
110 Karma
0 Total ProTip Views