mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix the block parameter name in Array#zip
This commit is contained in:
parent
a80e8592e5
commit
25602421fb
Notes:
git
2024-12-18 02:01:00 +00:00
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -4464,7 +4464,7 @@ take_items(VALUE obj, long n)
|
|||
/*
|
||||
* call-seq:
|
||||
* zip(*other_arrays) -> new_array
|
||||
* zip(*other_arrays) {|other_array| ... } -> nil
|
||||
* zip(*other_arrays) {|sub_array| ... } -> nil
|
||||
*
|
||||
* With no block given, combines +self+ with the collection of +other_arrays+;
|
||||
* returns a new array of sub-arrays:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue