From: JP Billaud Date: 2011-03-18T02:23:35+09:00 Subject: Re: Replacing elements in an array? Your code should work just fine. How did you initialize the @offspring array? JP -- Posted via http://www.ruby-forum.com/.