From: James Edward Gray II Date: 2006-02-05T06:57:17+09:00 Subject: Re: Quiz #65, Principle of Great Surprise, and Array.delete sledgehammer On Feb 4, 2006, at 3:49 PM, Dave Howell wrote: > > On Feb 4, 2006, at 13:09, James Edward Gray II wrote: > >> On Feb 4, 2006, at 2:50 PM, Dave Howell wrote: >> >>> Can somebody explain to me how I'm supposed to delete a *single* >>> element from an array based on equivalence with an object? and >>> get back said array with said element deleted? >> >> I was just wanting this method yesterday, and not for the first >> time. Is there any good reason we can't have a delete_first() >> method for Array? > > Wouldn't delete_first still ought to return "_obj_ or nil"? Good point. You are probably right. James Edward Gray II