Hi, In message "array operations" on 03/12/27, Ferenc Engard <ferenc / engard.hu> 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.