Your IP : 3.145.105.199


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Hash/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Hash/store-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Element Assignment---Associates the value given by <em>value</em> with the key given by <em>key</em>. <em>key</em> should not have its value changed while it is in use as a key (a <tt>String</tt> passed as a key will be duplicated and frozen).
- !ruby/struct:SM::Flow::VERB 
  body: "   h = { &quot;a&quot; =&gt; 100, &quot;b&quot; =&gt; 200 }\n   h[&quot;a&quot;] = 9\n   h[&quot;c&quot;] = 4\n   h   #=&gt; {&quot;a&quot;=&gt;9, &quot;b&quot;=&gt;200, &quot;c&quot;=&gt;4}\n"
full_name: Hash#store
is_singleton: false
name: store
params: |
  hsh[key] = value        => value
  hsh.store(key, value)   => value

visibility: public

?>