summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-01 02:36:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-01 02:36:33 +0000
commit171131061e65d46a746c6bb96dff3b1c2ae515aa (patch)
tree4d1912b0d4de537d76af99762a0d7dd717fe9339 /io.c
parent44e08324c7494a626c1801e4d1f6a09353928586 (diff)
* io.c (rb_io_initialize): fixed a rdoc miss that textmode and
bimode flag explanation was reversed each other. a patch from Heesob Park in [ruby-core:29166]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 031a92bf82..362beb192b 100644
--- a/io.c
+++ b/io.c
@@ -6316,9 +6316,9 @@ rb_io_stdio_file(rb_io_t *fptr)
* :encoding ::
* specifies external and internal encodings as "extern:intern".
* :textmode ::
- * If the value is truth value, same as "b" in argument <code>mode</code>.
- * :binmode ::
* If the value is truth value, same as "t" in argument <code>mode</code>.
+ * :binmode ::
+ * If the value is truth value, same as "b" in argument <code>mode</code>.
* :autoclose ::
* If the value is +false+, the _fd_ will be kept open after this
* +IO+ instance gets finalized.