Sha256: 426310c878e9fe6542f99b1fbac2e0debcef86ab91580c87b0a92fc0c087722a

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

if RUBY_VERSION >= '1.9'
  require 'csv'
  AsCSV::CSVProxy = CSV
else
  begin
    gem 'fastercsv'
    require 'fastercsv'

    AsCSV::CSVProxy = FasterCSV
  rescue LoadError => e
    raise "Error : FasterCSV not installed, please `gem install fastercsv` for faster processing on Ruby 1.8"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
as_csv-1.0.2 lib/as_csv/csv_proxy.rb