summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-25 17:11:47 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-25 17:11:47 +0000
commit134c045f1d5eb7273bba721fc1c997050c43e24d (patch)
treeb3e31160f5227bfdde3bb970f418c7721ee46518
parent8ab5fe418b6c3c7393ae7a1da1017614cf2e01dc (diff)
merge revision(s) 57767,57943: [Backport #10403]
io.c: documentation for puts * io.c: [DOC] clarify that the 'record separator' between arguments passed to 'puts' is always a newline. Based on a patch by Mark Amery. [ruby-core:65801] [Misc #10403] * 2017-03-13 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c9
-rw-r--r--version.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/io.c b/io.c
index 8f55f95ed0..e3cb5662a3 100644
--- a/io.c
+++ b/io.c
@@ -7109,11 +7109,12 @@ io_puts_ary(VALUE ary, VALUE out, int recur)
* call-seq:
* ios.puts(obj, ...) -> nil
*
- * Writes the given objects to <em>ios</em> as with
- * <code>IO#print</code>. Writes a record separator (typically a
- * newline) after any that do not already end with a newline sequence.
+ * Writes the given object(s) to <em>ios</em> as with <code>IO#print</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 record separator.
+ * If called without arguments, outputs a single newline.
*
* $stdout.puts("this", "is", "a", "test")
*
diff --git a/version.h b/version.h
index a3551fa8ac..2d26d3d6c6 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.2.7"
#define RUBY_RELEASE_DATE "2017-03-26"
-#define RUBY_PATCHLEVEL 438
+#define RUBY_PATCHLEVEL 439
#define RUBY_RELEASE_YEAR 2017
#define RUBY_RELEASE_MONTH 3