enum.zip(arg, ...) â an_array_of_arrayenum.zip(arg, ...) { |arr| block } â nil
Instance Public methods
Takes one element from enum and merges corresponding elements from
each args. This generates a sequence of n-element
arrays, where n is one more than the count of arguments. The
length of the resulting sequence will be enum#size. If the
size of any argument is less than enum#size, nil
values are supplied. If a block is given, it is invoked for each output
arr