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