Suppress a warning when write_headers: true
This commit is contained in:
parent
a2e0aaea1b
commit
e9907122ed
@ -14,6 +14,7 @@ class CSV
|
|||||||
@output = output
|
@output = output
|
||||||
@options = options
|
@options = options
|
||||||
@lineno = 0
|
@lineno = 0
|
||||||
|
@fields_converter = nil
|
||||||
prepare
|
prepare
|
||||||
if @options[:write_headers] and @headers
|
if @options[:write_headers] and @headers
|
||||||
self << @headers
|
self << @headers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user