Sha256: 02b5e11380acb38e69de2a01bbf4bf43134bccfcf36f1acf64d562b3b6e77c63

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

BAMFCSV -- Parsin' CSVs like a BAMF!

$ gem install bamfcsv
$ irb -rbamfcsv
irb> BAMFCSV.read "super_giant.csv"
===> ...large array of arrays...

BAMF!!! CSV IS PARSED IN LESS THAN ONE SECOND! GUARANTEED!*

also:
BAMFCSV.parse "csv,string,of,awesome"

AND! both #parse and #read take an optional :headers => true to generate a table!

irb(1.9.2): table = BAMFCSV.parse <<EOF, headers: true
         ?> foo,bar
         ?> 1,2
         ?> 3,4
         ?> EOF
==========> #<BAMFCSV::Table>
irb(1.9.2): table.first["foo"]
==========> "1"
irb(1.9.2): table[1]["bar"]
==========> "4"


(*) Results may vary.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bamfcsv-0.3.1 README
bamfcsv-0.2.0 README
bamfcsv-0.1.4 README
bamfcsv-0.1.3 README
bamfcsv-0.1.2 README