[DOC] Fix typo in Enumerable#slice_before

This commit is contained in:
Kouhei Yanagita authored and Nobuyoshi Nakada committed 2022-10-19 09:14:50 +09:00
1 parent 18b96d8a82
commit f982a26374
1 file changed
+1 -1
Notes: git 2026-08-24 02:34:42 +00:00
+1 -1
View File
@@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
/*
* 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").