File: C:/Ruby27-x64/share/ri/2.7.0/system/Hash/to_proc-i.ri
U:RDoc::AnyMethod[iI"to_proc:ETI"Hash#to_proc;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I".Returns a Proc which maps keys to values.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"h = {a:1, b:2}
;TI"hp = h.to_proc
;TI" hp.call(:a) #=> 1
;TI" hp.call(:b) #=> 2
;TI""hp.call(:c) #=> nil
;TI")[:a, :b, :c].map(&h) #=> [1, 2, nil];T:@format0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"hash.to_proc -> proc
;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00