Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Hash
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Hash/slice-i.ri
U:RDoc::AnyMethod[iI" slice:ETI"Hash#slice;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DReturns a hash containing only the given keys and their values.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"$h = { a: 100, b: 200, c: 300 } ;TI")h.slice(:a) #=> {:a=>100} ;TI"1h.slice(:b, :c, :d) #=> {:b=>200, :c=>300};T:@format0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I" hsh.slice(*keys) -> a_hash ;T0[ I"(*args);T@FI" Hash;TcRDoc::NormalClass00