From: matz@... (Yukihiro Matsumoto) Date: 2003-01-23T12:49:32+09:00 Subject: Re: Hash#+ ? Hi, In message "Re: Hash#+ ?" on 03/01/23, Tom Sawyer writes: |> I like the idea of Hash#| or Hash#or. It is simply an 'or' function. |> Whichever comes first has precedence: |> |> hash1 | hash2 # -> "key1" => "foo" |> hash2 | hash1 # -> "key1" => "baz" | |i posted this RCR on Ruby Garden but i expect the second hash to have |precedence. i.e. | is defined as a non in-place #update. So you guys are OK for value losing "or" or "|" methods? matz.