From: Jonas Schneider Date: 2008-02-12T05:54:57+09:00 Subject: Re: Deleting values of array elements On 11 Feb., 18:07, Robert Klemme wrote: > a.map {|x| x.dup.delete :prop} yay, works great =) only problem: The array actually consists of objects, I forgot. So they dont have the delete method. I've now done this with _x.dup.prop = nil; x_ but it seems a little ugly to have that nil still in there. I know, in PHP there is the unset function; is there somethin aequivalent in ruby to get rid of it completely? Greets Jonas