summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVince <vince.reuter@gmail.com>2021-08-05 16:40:05 -0400
committerSutou Kouhei <kou@cozmixng.org>2021-10-24 05:57:33 +0900
commit8aaa1c279f7c05a22dd108888d425565fc43e26f (patch)
tree90d0ef85118a9e9612dcff48db00ae98800a7fca
parente40baca33d44057263c7119bb07ab1401ced5d1b (diff)
[ruby/csv] doc: Match text to the struct name (https://github.com/ruby/csv/pull/217)
https://github.com/ruby/csv/commit/744e41130c
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5010
-rw-r--r--lib/csv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index 868f8e5b0e..7f1b404b2a 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -502,7 +502,7 @@ using CSV::MatchP if CSV.const_defined?(:MatchP)
# [" 1 ", #<struct CSV::FieldInfo index=1, line=2, header=nil>]
# [" baz ", #<struct CSV::FieldInfo index=0, line=3, header=nil>]
# [" 2 ", #<struct CSV::FieldInfo index=1, line=3, header=nil>]
-# Each CSV::Info object shows:
+# Each CSV::FieldInfo object shows:
# - The 0-based field index.
# - The 1-based line index.
# - The field header, if any.