From 2fe550dff67cb8d7b249f0e5e897800dc0a51410 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Sun, 19 Oct 2014 20:57:39 +0100 Subject: [PATCH] `puts` documentation fix Clarify that the 'record separator' between args passed to `puts` is always a newline. --- io.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/io.c b/io.c index 9548c43..2f18f67 100644 --- a/io.c +++ b/io.c @@ -7093,10 +7093,12 @@ io_puts_ary(VALUE ary, VALUE out, int recur) * ios.puts(obj, ...) -> nil * * Writes the given objects to ios as with - * IO#print. Writes a record separator (typically a - * newline) after any that do not already end with a newline sequence. + * IO#print. 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 record separator. + * + * If called without arguments, outputs a single newline. * * $stdout.puts("this", "is", "a", "test") * -- 1.9.1