module WPAR::Wrapper::Converter
Public Class Methods
convert(output)
click to toggle source
# File lib/wpars/wrapper/converter.rb, line 6 def self.convert(output) csv = CSV.new(output, :col_sep => ':', :headers => true, :header_converters => :symbol, :converters => :all) csv.to_a.map {|row| row.to_hash } end