Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Hash
/
//opt/alt/ruby21/share/ri/2.1.0/system/Hash/invert-i.ri
U:RDoc::AnyMethod[iI"invert:ETI"Hash#invert;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JReturns a new hash created by using <i>hsh</i>'s values as keys, and ;TI"the keys as values.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Fh = { "n" => 100, "m" => 100, "y" => 300, "d" => 200, "a" => 0 } ;TI":h.invert #=> {0=>"a", 100=>"m", 200=>"d", 300=>"y"};T:@format0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"hsh.invert -> new_hash ;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00