Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Hash
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Hash/store-i.ri
U:RDoc::AnyMethod[iI" store:ETI"Hash#store;TF:publico:RDoc::Markup::Document:@parts[ S:RDoc::Markup::Heading: leveli: textI"Element Assignment;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph; [I"GAssociates the value given by +value+ with the key given by +key+.;T@ o:RDoc::Markup::Verbatim; [I"$h = { "a" => 100, "b" => 200 } ;TI"h["a"] = 9 ;TI"h["c"] = 4 ;TI"(h #=> {"a"=>9, "b"=>200, "c"=>4} ;TI"h.store("d", 42) #=> 42 ;TI"1h #=> {"a"=>9, "b"=>200, "c"=>4, "d"=>42} ;T:@format0o;; [I"M+key+ should not have its value changed while it is in use as a key (an ;TI"M<tt>unfrozen String</tt> passed as a key will be duplicated and frozen).;T@ o;; [ I" a = "a" ;TI"b = "b".freeze ;TI" h = { a => 100, b => 200 } ;TI"#h.key(100).equal? a #=> false ;TI"!h.key(200).equal? b #=> true;T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"%hsh.store(key, value) -> value;T0[ I" (p1, p2);T@$FI" Hash;TcRDoc::NormalClass00