Sha256: 7e455a27156585c16059b3c2a9a1848417e66651b7fd3e4604fd32cecae2a1f5
Contents?: true
Size: 220 Bytes
Versions: 1
Compression:
Stored size: 220 Bytes
Contents
#coding: utf-8 require 'csv' class CSV def self.example_data data = "id,firstname,lastname\n1,One,One\n2,Two,Two\n4,Four,Four\n5,Five,Five" CSV.parse(data, {:col_sep => ',', :headers => true}) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_csv-0.0.2 | lib/csv/csv.rb |