From: Robin Stocker Date: 2006-01-12T19:22:01+09:00 Subject: Re: Is this a bug? Vivek wrote: > Ah! thanks for the clarification! > Just had to one flatten after pushing b on a to acheive what I wanted. a=[1,2,3,1] b=[1,[2,4],[5,6,3],4] b.flatten! a.concat b # concat instead of push a.uniq! puts a Would also do what you wanted. It's probably faster than push and flatten. Robin