Ccsv
A pure-C CSV parser.
Installation
gem install ccsv
Usage
require 'rubygems'
require 'ccsv'
Ccsv.foreach("data.csv") do |line|
# Do something with the line array
end
Ccsv.foreach("/etc/passwd",":") do |line|
puts line[0]
end
License
Copyright 2012 Sergey Zhumatiy Copyright 2007-2012 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.