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/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