Jim Freeze asked: > How would I get the following results (the ruby way): > > a = [1,2] > b = [3,4] > > If I do > a << b => a = [1,2,[3,4]] > (not what I want.) > > I want > a = [1,2,3,4] http://www.rubycentral.com/ref/ref_c_array.html#concat I guess something like class Array def <<(*arrays) arrays.each do |array| self.concat array end end end would be somewhere around what you're after. But I'd use plain Array#concat. - Aleksi