N
Nick Black
Hello,
I have a number of arrays within arrays. Some of them are duplicatess like:
[[foo, bar, ru, by], [ru], [bar, foo], [foo, bar, ru, by]]
I would like to remove duplicates to end up with:
[[foo, bar, ru, by], [ru], [bar, foo]]
Is there a Ruby function to do this?
Cheers,
I have a number of arrays within arrays. Some of them are duplicatess like:
[[foo, bar, ru, by], [ru], [bar, foo], [foo, bar, ru, by]]
I would like to remove duplicates to end up with:
[[foo, bar, ru, by], [ru], [bar, foo]]
Is there a Ruby function to do this?
Cheers,