Hi all:

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]

I can get this with:
b.each {|i| a << i }  => a = [1,2,3,4]

But this seems kludgy. Is there a better way?
Also, I don't want to have to flatten a.

Thanks

====================================================
Jim Freeze
jim / freeze.org
--------------------------------------------------- 
** http://www.freeze.org **
====================================================