diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 18:40:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 18:40:07 +0000 |
commit | 8ef14d2b4dd99b06d33a5a9c337aa65c6ad4c72e (patch) | |
tree | 967e801657212a4064548f32cfcf34d9c7fa7f3f | |
parent | 8169f0d479553eecd8ad251c942b120cbcd1e3d1 (diff) | |
download | ruby-8ef14d2b4dd99b06d33a5a9c337aa65c6ad4c72e.tar.gz |
io.c: [DOC] IO#puts uses IO#write
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7181,12 +7181,13 @@ io_puts_ary(VALUE ary, VALUE out, int recur) * call-seq: * ios.puts(obj, ...) -> nil * - * Writes the given object(s) to <em>ios</em> as with <code>IO#print</code>. + * Writes the given object(s) to <em>ios</em> as with <code>IO#write</code>. * Writes a newline after any that do not already end * with a newline sequence. * * If called with an array argument, writes each element on a new line. * If called without arguments, outputs a single newline. + * This doesn't affect $/. ($RS or INPUT_RECORD_SEPARATOR in English.rb) * * $stdout.puts("this", "is", "a", "test") * |