diff --git a/io.c b/io.c index 76b6f8771e..32b8a7b3c1 100644 --- a/io.c +++ b/io.c @@ -3528,9 +3528,13 @@ rb_io_binmode(VALUE io) * call-seq: * ios.binmode => ios * - * Puts ios into binary mode. This is useful only in - * MS-DOS/Windows environments. Once a stream is in binary mode, it - * cannot be reset to nonbinary mode. + * Puts ios into binary mode. + * Once a stream is in binary mode, it cannot be reset to nonbinary mode. + * + * - newline conversion disabled + * - encoding conversion disabled + * - content is treated as ASCII-8BIT + * */ static VALUE