⚝
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
/
ruby31
/
share
/
ri
/
system
/
Hash
/
Edit File: invert-i.ri
U:RDoc::AnyMethod[iI"invert:ETI"Hash#invert;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"FReturns a new \Hash object with the each key-value pair inverted:;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"h1 = h.invert ;TI")h1 # => {0=>:foo, 1=>:bar, 2=>:baz} ;T:@format0o; ; [I"'Overwrites any repeated new keys: ;TI"8(see {Entry Order}[#class-Hash-label-Entry+Order]):;To;; [I""h = {foo: 0, bar: 0, baz: 0} ;TI"h.invert # => {0=>:baz};T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"hash.invert -> new_hash ;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00
Simpan