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/shift-i.ri
U:RDoc::AnyMethod[iI" shift:ETI"Hash#shift;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DRemoves a key-value pair from <i>hsh</i> and returns it as the ;TI"Htwo-item array <code>[</code> <i>key, value</i> <code>]</code>, or ;TI"3the hash's default value if the hash is empty.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"*h = { 1 => "a", 2 => "b", 3 => "c" } ;TI"h.shift #=> [1, "a"] ;TI"#h #=> {2=>"b", 3=>"c"};T:@format0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"!hsh.shift -> anArray or obj ;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00