From: matz@... (Yukihiro Matsumoto) Date: 2003-12-27T09:24:01+09:00 Subject: Re: array operations Hi, In message "array operations" on 03/12/27, Ferenc Engard writes: |What comparison (equality) the array operation '-' based on? I tried to |define ==, ===, even <=>, but none of them gets called. OTOH, if I have |two distinct string objects which happen to contain the same characters, |they are considered equal, even if the ids are not equal. Close. It uses "eql?" internally, since comparison is done using Hash. matz.