summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-08 13:03:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-08 13:03:50 +0900
commite9907122ed6d71de4601b0be22e39e4486636c69 (patch)
tree77edb1437c4867819bfe32ab87827c1b33142c31
parenta2e0aaea1b240d7df57dd7f7bece8effa539a5cb (diff)
downloadbundler-e9907122ed6d71de4601b0be22e39e4486636c69.tar.gz
Suppress a warning when `write_headers: true`
-rw-r--r--lib/csv/writer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/csv/writer.rb b/lib/csv/writer.rb
index 8e0aab32ff..1682ac03ea 100644
--- a/lib/csv/writer.rb
+++ b/lib/csv/writer.rb
@@ -14,6 +14,7 @@ class CSV
@output = output
@options = options
@lineno = 0
+ @fields_converter = nil
prepare
if @options[:write_headers] and @headers
self << @headers