diff options
author | Kouhei Yanagita <yanagi@shakenbu.org> | 2022-10-18 12:19:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-19 09:14:50 +0900 |
commit | f982a26374f4300ed9e5cbd122f792f907e20b22 (patch) | |
tree | a6a8de0fe584c0dfe97bf04f867f0e9e25c3035a /enum.c | |
parent | 18b96d8a828f595c46814511f11b41c4dba7d4b4 (diff) | |
download | ruby-f982a26374f4300ed9e5cbd122f792f907e20b22.tar.gz |
[DOC] Fix typo in Enumerable#slice_before
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"). |