Sha256: 687a8ccc171b937f673f09532ed1eb89d9f43b4ad365e85704517b27dcb5d03e

Contents?: true

Size: 397 Bytes

Versions: 35

Compression:

Stored size: 397 Bytes

Contents

require "csv"
require "hashie"

module Ddr::Index
  class CSVOptions < Hashie::Dash

    property :headers,        default: CSV::DEFAULT_OPTIONS[:headers]
    property :return_headers, default: true
    property :write_headers,  default: true
    property :col_sep,        default: CSV::DEFAULT_OPTIONS[:col_sep]
    property :quote_char,     default: CSV::DEFAULT_OPTIONS[:quote_char]

  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
ddr-models-2.4.12 lib/ddr/index/csv_options.rb
ddr-models-2.4.11 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.rc4 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.rc3 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.rc2 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.rc1 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.22 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.21 lib/ddr/index/csv_options.rb
ddr-models-2.4.10 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.20 lib/ddr/index/csv_options.rb
ddr-models-2.4.9 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.18 lib/ddr/index/csv_options.rb
ddr-models-2.4.8 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.17 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.16 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.15 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.14 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.13 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.12 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.11 lib/ddr/index/csv_options.rb