We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b96d8 commit f982a26Copy full SHA for f982a26
enum.c
@@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
3834
/*
3835
* call-seq:
3836
* slice_before(pattern) -> enumerator
3837
- * slice_before {|array| ... } -> enumerator
+ * slice_before {|elt| ... } -> enumerator
3838
*
3839
* With argument +pattern+, returns an enumerator that uses the pattern
3840
* to partition elements into arrays ("slices").
0 commit comments