⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Enumerable
/
Edit File: to_h-i.ri
U:RDoc::AnyMethod[iI" to_h:ETI"Enumerable#to_h;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"AReturns the result of interpreting <i>enum</i> as a list of ;TI"!<tt>[key, value]</tt> pairs.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"*%i[hello world].each_with_index.to_h ;TI"' # => {:hello => 0, :world => 1} ;T:@format0o; ; [I"FIf a block is given, the results of the block on each element of ;TI"$the enum will be used as pairs.;T@o;; [I"#(1..5).to_h {|x| [x, x ** 2]} ;TI"+ #=> {1=>1, 2=>4, 3=>9, 4=>16, 5=>25};T; 0: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"Eenum.to_h(*args) -> hash enum.to_h(*args) {...} -> hash ;T0[ I"(*args);T@FI"Enumerable;TcRDoc::NormalModule00
Simpan