PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Array
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts any arguments to arrays, then merges elements of <em>self</em> with corresponding elements from each argument. This generates a sequence of <tt>self.size</tt> <em>n</em>-element arrays, where <em>n</em> is one more that the count of arguments. If the size of any argument is less than <tt>enumObj.size</tt>, <tt>nil</tt> values are supplied. If a block given, it is invoked for each output array, otherwise an array of arrays is returned. - !ruby/struct:SM::Flow::VERB body: " a = [ 4, 5, 6 ]\n b = [ 7, 8, 9 ]\n\n [1,2,3].zip(a, b) #=> [[1, 4, 7], [2, 5, 8], [3, 6, 9]]\n [1,2].zip(a,b) #=> [[1, 4, 7], [2, 5, 8]]\n a.zip([1,2],[8]) #=> [[4,1,8], [5,2,nil], [6,nil,nil]]\n" full_name: Array#zip is_singleton: false name: zip params: | array.zip(arg, ...) -> an_array array.zip(arg, ...) {| arr | block } -> nil visibility: public
[-] pack-i.yaml
[edit]
[-] frozen%3f-i.yaml
[edit]
[-] reject-i.yaml
[edit]
[-] drop-i.yaml
[edit]
[-] %3c%3d%3e-i.yaml
[edit]
[-] size-i.yaml
[edit]
[-] compact%21-i.yaml
[edit]
[-] drop_while-i.yaml
[edit]
[-] product-i.yaml
[edit]
[-] concat-i.yaml
[edit]
[-] collect%21-i.yaml
[edit]
[-] pretty_print_cycle-i.yaml
[edit]
[-] flatten%21-i.yaml
[edit]
[-] fetch-i.yaml
[edit]
[-] reverse%21-i.yaml
[edit]
[-] %2a-i.yaml
[edit]
[-] to_ary-i.yaml
[edit]
[-] indices-i.yaml
[edit]
[-] empty%3f-i.yaml
[edit]
[-] to_yaml-i.yaml
[edit]
[-] values_at-i.yaml
[edit]
[-] last-i.yaml
[edit]
[-] hash-i.yaml
[edit]
[-] join-i.yaml
[edit]
[-] pretty_print-i.yaml
[edit]
[-] yaml_initialize-i.yaml
[edit]
[-] %5b%5d%3d-i.yaml
[edit]
[-] assoc-i.yaml
[edit]
[-] find_index-i.yaml
[edit]
[-] shelljoin-i.yaml
[edit]
[-] %2d-i.yaml
[edit]
[-] flatten-i.yaml
[edit]
[-] %3c%3c-i.yaml
[edit]
[-] cdesc-Array.yaml
[edit]
[-] pop-i.yaml
[edit]
[-] transpose-i.yaml
[edit]
[-] take-i.yaml
[edit]
[-] index-i.yaml
[edit]
[-] insert-i.yaml
[edit]
[-] include%3f-i.yaml
[edit]
[-] cycle-i.yaml
[edit]
[-] uniq-i.yaml
[edit]
[-] reverse_each-i.yaml
[edit]
[-] at-i.yaml
[edit]
[-] abbrev-i.yaml
[edit]
[-] initialize_copy-i.yaml
[edit]
[-] compact-i.yaml
[edit]
[-] map-i.yaml
[edit]
[-] %2b-i.yaml
[edit]
[-] inspect-i.yaml
[edit]
[-] choice-i.yaml
[edit]
[-] delete-i.yaml
[edit]
[-] unshift-i.yaml
[edit]
[-] nitems-i.yaml
[edit]
[-] uniq%21-i.yaml
[edit]
[-] combination-i.yaml
[edit]
[-] dclone-i.yaml
[edit]
[-] clear-i.yaml
[edit]
[-] each_index-i.yaml
[edit]
[-] rassoc-i.yaml
[edit]
[-] reject%21-i.yaml
[edit]
[-] push-i.yaml
[edit]
[-] %3d%3d-i.yaml
[edit]
[-] rindex-i.yaml
[edit]
[-] sort%21-i.yaml
[edit]
[-] permutation-i.yaml
[edit]
[-] %5b%5d-c.yaml
[edit]
[-] %5b%5d-i.yaml
[edit]
[-] to_a-i.yaml
[edit]
[-] take_while-i.yaml
[edit]
[-] map%21-i.yaml
[edit]
[-] collect-i.yaml
[edit]
[-] fill-i.yaml
[edit]
[-] eql%3f-i.yaml
[edit]
[-] delete_at-i.yaml
[edit]
[-] length-i.yaml
[edit]
[+]
..
[-] slice-i.yaml
[edit]
[-] delete_if-i.yaml
[edit]
[-] select-i.yaml
[edit]
[-] each-i.yaml
[edit]
[-] indexes-i.yaml
[edit]
[-] sort-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] shift-i.yaml
[edit]
[-] count-i.yaml
[edit]
[-] %26-i.yaml
[edit]
[-] %7c-i.yaml
[edit]
[-] to_s-i.yaml
[edit]
[-] replace-i.yaml
[edit]
[-] shuffle-i.yaml
[edit]
[-] slice%21-i.yaml
[edit]
[-] first-i.yaml
[edit]
[-] zip-i.yaml
[edit]
[-] shuffle%21-i.yaml
[edit]
[-] reverse-i.yaml
[edit]