D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Hash
/
Filename :
initialize_copy-i.ri
back
Copy
U:RDoc::AnyMethod[iI"initialize_copy:ETI"Hash#initialize_copy;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OReplaces the entire contents of +self+ with the contents of +other_hash+; ;TI"returns +self+:;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"8h.replace({bat: 3, bam: 4}) # => {:bat=>3, :bam=>4};T:@format0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"&hash.replace(other_hash) -> self ;T0[[I"replace;T@ I" (p1);T@FI" Hash;TcRDoc::NormalClass00