File: //usr/share/ri/3.0.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"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