mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress a warning when write_headers: true
This commit is contained in:
parent
a2e0aaea1b
commit
e9907122ed
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue