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.7 lib/ddr/index/csv_options.rb
ddr-models-2.4.6 lib/ddr/index/csv_options.rb
ddr-models-2.4.5 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.10 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.9 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.8 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.7 lib/ddr/index/csv_options.rb
ddr-models-2.4.4 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.6 lib/ddr/index/csv_options.rb
ddr-models-2.4.3 lib/ddr/index/csv_options.rb
ddr-models-2.4.2 lib/ddr/index/csv_options.rb
ddr-models-3.0.0.beta.4 lib/ddr/index/csv_options.rb
ddr-models-2.4.1 lib/ddr/index/csv_options.rb
ddr-models-2.4.0 lib/ddr/index/csv_options.rb
ddr-models-2.4.0.rc6 lib/ddr/index/csv_options.rb