summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2020-06-15 16:43:36 -0500
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-20 02:32:52 +0900
commit9901bb4c73131ca80a1924d45425d8011a591cbd (patch)
treec257eb9ce1d1d1b204b5f033308a1f29b1d9bf0e /doc
parent013cca1f9a87eebba61e11ebcf97109dde009d37 (diff)
[ruby/csv] Add missing file doc/argument_io.rdoc (#140)
https://github.com/ruby/csv/commit/e37f04aa5c
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3332
Diffstat (limited to 'doc')
-rw-r--r--doc/argument_io.rdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/argument_io.rdoc b/doc/argument_io.rdoc
new file mode 100644
index 0000000000..f5fe1d1975
--- /dev/null
+++ b/doc/argument_io.rdoc
@@ -0,0 +1,5 @@
+* Argument +io+ should be an IO object that is:
+ * Open for reading; on return, the IO object will be closed.
+ * Positioned at the beginning.
+ To position at the end, for appending, use method CSV.generate.
+ For any other positioning, pass a preset \StringIO object instead.