Module: CSV::Excel

Included in:
CSV
Defined in:
lib/csv/excel.rb,
lib/csv/excel/version.rb

Defined Under Namespace

Classes: Error

Constant Summary collapse

UTF8BOM =
-"\xEF\xBB\xBF"
VERSION =
"0.1.1".freeze

Instance Method Summary collapse

Instance Method Details

#initialize(data, **options) ⇒ Object



10
11
12
13
14
# File 'lib/csv/excel.rb', line 10

def initialize(data, **options)
  @for_excel = options.delete(:for_excel)
  options[:force_quotes] = true if @for_excel
  super(data, **options)
end