JezK
Edit File: %3d%3d-i.ri
U:RDoc::AnyMethod[iI"==:ETI"Hash#==;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JEquality---Two hashes are equal if they each contain the same number ;TI"Bof keys and if each key-value pair is equal to (according to ;TI"E<code>Object#==</code>) the corresponding elements in the other ;TI" hash.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"!h1 = { "a" => 1, "c" => 2 } ;TI"*h2 = { 7 => 35, "c" => 2, "a" => 1 } ;TI"*h3 = { "a" => 1, "c" => 2, 7 => 35 } ;TI",h4 = { "a" => 1, "d" => 2, "f" => 35 } ;TI"h1 == h2 #=> false ;TI"h2 == h3 #=> true ;TI"h3 == h4 #=> false ;T:@format0o; ; [I"0The orders of each hashes are not compared.;T@o;; [I"!h1 = { "a" => 1, "c" => 2 } ;TI"!h2 = { "c" => 2, "a" => 1 } ;TI"h1 == h2 #=> true;T; 0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"+hsh == other_hash -> true or false ;T0[ I" (p1);T@#FI" Hash;TcRDoc::NormalClass00