[前][次][番号順一覧][スレッド一覧]

ruby-changes:74215

From: nagachika <ko1@a...>
Date: Sun, 23 Oct 2022 19:41:24 +0900 (JST)
Subject: [ruby-changes:74215] 5e25ba5d07 (ruby_3_1): merge revision(s) 280b805d040fa537d5a459b40d4bfa6d49700905: [Backport #18909]

https://git.ruby-lang.org/ruby.git/commit/?id=5e25ba5d07

From 5e25ba5d07d42f02485235e3962a4a28373c50e1 Mon Sep 17 00:00:00 2001
From: nagachika <nagachika@r...>
Date: Sun, 23 Oct 2022 19:09:57 +0900
Subject: merge revision(s) 280b805d040fa537d5a459b40d4bfa6d49700905: [Backport
 #18909]

	[DOC] Fix documentation for ARGF#readlines

	[Bug #18909]
	---
	 io.c | 8 ++++----
	 1 file changed, 4 insertions(+), 4 deletions(-)
---
 io.c      | 8 ++++----
 version.h | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/io.c b/io.c
index 0b543108b3..1bfd39da5f 100644
--- a/io.c
+++ b/io.c
@@ -9518,16 +9518,16 @@ rb_f_readlines(int argc, VALUE *argv, VALUE recv) https://github.com/ruby/ruby/blob/trunk/io.c#L9518
 
 /*
  *  call-seq:
- *     ARGF.readlines(sep=$/)     -> array
+ *     ARGF.readlines(sep = $/)     -> array
  *     ARGF.readlines(limit)      -> array
  *     ARGF.readlines(sep, limit) -> array
  *
- *     ARGF.to_a(sep=$/)     -> array
+ *     ARGF.to_a(sep = $/)     -> array
  *     ARGF.to_a(limit)      -> array
  *     ARGF.to_a(sep, limit) -> array
  *
- *  Reads +ARGF+'s current file in its entirety, returning an +Array+ of its
- *  lines, one line per element. Lines are assumed to be separated by _sep_.
+ *  Reads each file in +ARGF+ in its entirety, returning an +Array+ containing
+ *  lines from the files. Lines are assumed to be separated by _sep_.
  *
  *     lines = ARGF.readlines
  *     lines[0]                #=> "This is line one\n"
diff --git a/version.h b/version.h
index 2bfa800209..b35f82ffb0 100644
--- a/version.h
+++ b/version.h
@@ -11,11 +11,11 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L11
 # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
 #define RUBY_VERSION_TEENY 3
 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 167
+#define RUBY_PATCHLEVEL 168
 
 #define RUBY_RELEASE_YEAR 2022
 #define RUBY_RELEASE_MONTH 10
-#define RUBY_RELEASE_DAY 22
+#define RUBY_RELEASE_DAY 23
 
 #include "ruby/version.h"
 
-- 
cgit v1.2.3


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]