diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-15 08:43:45 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-15 08:43:45 +0000 |
commit | 01657b51f8ff145e425feb5fee39481be735cb4d (patch) | |
tree | 1ea728370f3783db08a63c0961b7b341966acd56 /io.c | |
parent | d188e1a8529927749c378f7c5f9e27464a686749 (diff) | |
download | ruby-01657b51f8ff145e425feb5fee39481be735cb4d.tar.gz |
* io.c (rb_io_print): RDoc update. a patch from Daniel Kelley
in [ruby-core:28643].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5884,7 +5884,9 @@ rb_f_printf(int argc, VALUE *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 field separator (<code>$,</code>) + * is not <code>nil</code>, it will be inserted between each object. + * 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. |