Store

store

ri

 ------------------------------------------------------------- Hash#store
      hsh[key] = value        => value
      hsh.store(key, value)   => value
 ------------------------------------------------------------------------
      Element Assignment---Associates the value given by _value_ with the
      key given by _key_. _key_ should not have its value changed while
      it is in use as a key (a  String  passed as a key will be
      duplicated and frozen).
 
         h = { "a" => 100, "b" => 200 }
         h["a"] = 9
         h["c"] = 4
         h   #=> {"a"=>9, "b"=>200, "c"=>4}