summaryrefslogtreecommitdiff
path: root/lib/csv/fields_converter.rb
diff options
context:
space:
mode:
authorSutou Kouhei <kou@cozmixng.org>2019-10-12 14:03:21 +0900
committerGitHub <noreply@github.com>2019-10-12 14:03:21 +0900
commit92df7d98b62f48cf21cdec522f2e7b34380fd718 (patch)
treea0d169e177ebd5607caefa26cef90cc70df48232 /lib/csv/fields_converter.rb
parentd6e68bb263e79cb802fa683d9c4139ddca2fd4f5 (diff)
Import CSV 3.1.2 (#2547)
Notes
Notes: Merged-By: kou <kou@clear-code.com>
Diffstat (limited to 'lib/csv/fields_converter.rb')
-rw-r--r--lib/csv/fields_converter.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/csv/fields_converter.rb b/lib/csv/fields_converter.rb
index c2fa5798ff..a751c9ea1d 100644
--- a/lib/csv/fields_converter.rb
+++ b/lib/csv/fields_converter.rb
@@ -1,8 +1,14 @@
# frozen_string_literal: true
class CSV
+ # Note: Don't use this class directly. This is an internal class.
class FieldsConverter
include Enumerable
+ #
+ # A CSV::FieldsConverter is a data structure for storing the
+ # fields converter properties to be passed as a parameter
+ # when parsing a new file (e.g. CSV::Parser.new(@io, parser_options))
+ #
def initialize(options={})
@converters = []