From a9419fbd4fe597a9ef41621d16664a659544ed76 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 15 Dec 2017 11:52:41 +0000 Subject: [PATCH] [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 --- io.c | 3 +++ 1 file changed, 3 insertions(+) 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.