⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Array
/
Edit File: minmax-i.ri
U:RDoc::AnyMethod[iI"minmax:ETI"Array#minmax;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NReturns a new 2-element \Array containing the minimum and maximum values ;TI"Gfrom +self+, either per method <tt><=></tt> or per a given block:.;To:RDoc::Markup::BlankLine o; ; [ I"XWhen no block is given, each element in +self+ must respond to method <tt><=></tt> ;TI"with an \Integer; ;TI"Nreturns a new 2-element \Array containing the minimum and maximum values ;TI"*from +self+, per method <tt><=></tt>:;To:RDoc::Markup::Verbatim; [I""[0, 1, 2].minmax # => [0, 2] ;T:@format0o; ; [ I"?When a block is given, the block must return an \Integer; ;TI"Ithe block is called <tt>self.size-1</tt> times to compare elements; ;TI"Nreturns a new 2-element \Array containing the minimum and maximum values ;TI" from +self+, per the block:;To;; [I"L['0', '00', '000'].minmax {|a, b| a.size <=> b.size } # => ["0", "000"];T; 0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"Yarray.minmax -> [min_val, max_val] array.minmax {|a, b| ... } -> [min_val, max_val] ;T0[ I"();T@"FI" Array;TcRDoc::NormalClass00
Simpan