aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
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
commit73a24a1e93d2bfcd7e3ee9b966e323581824d656 (patch)
tree9372044e61e99d7c1164977b72ed5e41e96ea156 /io.c
parentdbd1e226715f0747f9ade9c2784ef14dc98dfb05 (diff)
downloadruby-73a24a1e93d2bfcd7e3ee9b966e323581824d656.tar.gz
[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
Diffstat (limited to 'io.c')
-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.