summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 11:52:41 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 11:52:41 +0000
commita9419fbd4fe597a9ef41621d16664a659544ed76 (patch)
tree9372044e61e99d7c1164977b72ed5e41e96ea156
parent8197188707aa30a9d07c388e725f904927f74a41 (diff)
[DOC] `IO.new` accepts `external_encoding`
Revert part of r61278 [Bug #13655] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.c b/io.c
index 572b9575b1..f988c1b70e 100644
--- a/io.c
+++ b/io.c
@@ -8043,6 +8043,9 @@ rb_io_make_open_file(VALUE obj)
* Specifies file open flags as integer.
* If +mode+ parameter is given, this parameter will be bitwise-ORed.
*
+ * :\external_encoding ::
+ * External encoding for the IO.
+ *
* :\internal_encoding ::
* Internal encoding for the IO. "-" is a synonym for the default internal
* encoding.