From: Marnen Laibow-Koser Date: 2009-12-02T22:50:52+09:00 Subject: Re: have a problem with the loops and variable Steve Wilhelm wrote: > > Marnen states: > > "Note that it would be far more idiomatic to use s.each. Never use += > to step through subscripts in Ruby." > > An example based on Sajjad's original code would be helpful. Then write one! :) If you're not sure how, do what you can and post it here. I'm sure I or someone else will be happy to look over it. > Thanks in > advance. > > - Steve W. Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.