зеркало из https://github.com/github/ruby.git
[DOC] Fix typo in Enumerable#slice_before
This commit is contained in:
Родитель
18b96d8a82
Коммит
f982a26374
2
enum.c
2
enum.c
|
@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* slice_before(pattern) -> enumerator
|
* slice_before(pattern) -> enumerator
|
||||||
* slice_before {|array| ... } -> enumerator
|
* slice_before {|elt| ... } -> enumerator
|
||||||
*
|
*
|
||||||
* With argument +pattern+, returns an enumerator that uses the pattern
|
* With argument +pattern+, returns an enumerator that uses the pattern
|
||||||
* to partition elements into arrays ("slices").
|
* to partition elements into arrays ("slices").
|
||||||
|
|
Загрузка…
Ссылка в новой задаче