⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Hash
/
View File Name :
%5b%5d-c.ri
U:RDoc::AnyMethod[iI"[]:ETI" Hash::[];TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JReturns a new \Hash object populated with the given objects, if any. ;TI"See Hash::new.;To:RDoc::Markup::BlankLine o; ; [I"1With no argument, returns a new empty \Hash.;T@o; ; [I"0When the single given argument is a \Hash, ;TI"Ireturns a new \Hash populated with the entries from the given \Hash.;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI".Hash[h] # => {:foo=>0, :bar=>1, :baz=>2} ;T:@format0o; ; [I"FWhen the single given argument is an \Array of 2-element Arrays, ;TI"Ureturns a new \Hash object wherein each 2-element array forms a key-value entry:;To;; [I">Hash[ [ [:foo, 0], [:bar, 1] ] ] # => {:foo=>0, :bar=>1} ;T; 0o; ; [I"0When the argument count is an even number; ;TI"Jreturns a new \Hash object wherein each successive pair of arguments ;TI""has become a key-value entry:;To;; [I"4Hash[:foo, 0, :bar, 1] # => {:foo=>0, :bar=>1} ;T; 0o; ; [I"SRaises an exception if the argument list does not conform to any of the above.;T: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"xHash[] -> new_empty_hash Hash[hash] -> new_hash Hash[ [*2_element_arrays] ] -> new_hash Hash[*objects] -> new_hash ;T0[ I"(*args);T@-FI" Hash;TcRDoc::NormalClass00