module CSV::Excel

Constants

UTF8BOM
VERSION

Public Class Methods

new(data, **options) click to toggle source
Calls superclass method
# 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

Private Instance Methods

writer_options() click to toggle source
Calls superclass method
# File lib/csv/excel.rb, line 17
def writer_options
  super.merge(for_excel: @for_excel)
end