Hi -- On Thu, 11 Nov 2004, Robert Klemme wrote: > > "Kevin Böògens" <kevin / boergens.de> schrieb im Newsbeitrag > news:2vfjurF2ljhdfU1 / uni-berlin.de... > > Hi! > > > > > > How to restart a "each" iteration when the iterated array is changed? I > do > > it like this > > > > changed=false > > while (changed) > > changed=false > > array.each {|e| > > if (today_is_christmas) > > array=array+=["Hello santa claus"] > > This is sufficient: > array += +=["Hello santa claus"] Do you mean array += ["Hello santa clause"] ? (See my earlier response -- actually, don't, because except for that, it probably wasn't very good :-) David -- David A. Black dblack / wobblini.net