From: matz@... (Yukihiro Matsumoto) Date: 2004-08-06T14:08:39+09:00 Subject: Re: Array#delete return value Hi, In message "Array#delete return value" on 04/08/06, Guillaume Marcais writes: |According to the following contrived example (and the documentation), |Array#delete returns the object passed as argument if a match is found |and deleted: |It seems to me it would make more sense to return the object actually |removed from the array (t1 in the example instead of t2). But Array#delete method deletes ALL elements that equal to the argument. Do you want it to return an array of deleted items? matz.