On 11 Feb., 18:07, Robert Klemme <shortcut... / googlemail.com> 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