[DOC] Fix the block parameter name in Array#zip

This commit is contained in:
Kouhei Yanagita 2024-12-12 16:10:51 +09:00 committed by Hiroshi SHIBATA
parent a80e8592e5
commit 25602421fb
Notes: git 2024-12-18 02:01:00 +00:00

View file

@ -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: