From: YANAGAWA Kazuhisa Date: 2005-02-17T21:03:25+09:00 Subject: Re: A little bit confused about array+array addition (bug or expected behavior?) In Message-Id: <1108621386.785917.174190@f14g2000cwb.googlegroups.com> "gga" writes: > Yes, that's what I had figured. I had not realized the existance of > the replace method. That's exactly what I was looking for. But what you need in this particular case is Array#concat. irb(main):001:0> a=[1,2,3] => [1, 2, 3] irb(main):002:0> a.concat([4,5]) => [1, 2, 3, 4, 5] irb(main):003:0> a => [1, 2, 3, 4, 5] -- kjana@dm4lab.to February 17, 2005 Time and tide wait for no man.