ruby-changes:74120
From: Kouhei <ko1@a...>
Date: Wed, 19 Oct 2022 09:15:07 +0900 (JST)
Subject: [ruby-changes:74120] f982a26374 (master): [DOC] Fix typo in Enumerable#slice_before
https://git.ruby-lang.org/ruby.git/commit/?id=f982a26374 From f982a26374f4300ed9e5cbd122f792f907e20b22 Mon Sep 17 00:00:00 2001 From: Kouhei Yanagita <yanagi@s...> Date: Tue, 18 Oct 2022 12:19:02 +0900 Subject: [DOC] Fix typo in Enumerable#slice_before --- enum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enum.c b/enum.c index 97215b627e..4a0403faf1 100644 --- a/enum.c +++ b/enum.c @@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator)) https://github.com/ruby/ruby/blob/trunk/enum.c#L3834 /* * call-seq: * slice_before(pattern) -> enumerator - * slice_before {|array| ... } -> enumerator + * slice_before {|elt| ... } -> enumerator * * With argument +pattern+, returns an enumerator that uses the pattern * to partition elements into arrays ("slices"). -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/