summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-27 07:08:58 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-27 07:08:58 +0000
commit22997937096ec7d8038b792b1cfa0d46c7bdcb79 (patch)
tree2e4bd6449faf25e7e4f47367015ac71c1a302a11 /io.c
parent81b728c2436bfd94abe33b152493bc5b7a3a1728 (diff)
* io.c: fixed rdoc. [ruby-Bugs:2523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/io.c b/io.c
index 7f7b02c37b..24533a6e89 100644
--- a/io.c
+++ b/io.c
@@ -3516,6 +3516,7 @@ rb_io_reopen(argc, argv, file)
return file;
}
+/* :nodoc: */
static VALUE
rb_io_init_copy(dest, io)
VALUE dest, io;
@@ -3632,7 +3633,7 @@ rb_f_printf(argc, argv)
* ios.print(obj, ...) => nil
*
* Writes the given object(s) to <em>ios</em>. The stream must be
- * opened for writing. If the output record separator (<code>$\</code>)
+ * opened for writing. If the output record separator (<code>$\\</code>)
* is not <code>nil</code>, it will be appended to the output. If no
* arguments are given, prints <code>$_</code>. Objects that aren't
* strings will be converted by calling their <code>to_s</code> method.
@@ -3688,7 +3689,7 @@ rb_io_print(argc, argv, out)
* Prints each object in turn to <code>$stdout</code>. If the output
* field separator (<code>$,</code>) is not +nil+, its
* contents will appear between each field. If the output record
- * separator (<code>$\</code>) is not +nil+, it will be
+ * separator (<code>$\\</code>) is not +nil+, it will be
* appended to the output. If no arguments are given, prints
* <code>$_</code>. Objects that aren't strings will be converted by
* calling their <code>to_s</code> method.