> From: Michael Witrant [mailto:mike / lepton.fr] [snip] > > I only have one comment in mind: > > > (0...row.length).each {|i| > [...] > > (0... / maxcols.length).each {|n| > > Here you can use the Fixnum#times method: > > row.length.times { |i| > @maxcols.length.times { |n| > > It iterates from 0 to (self-1). But you might like (0...n) better. No, I like Fixnum#times much better (it took me a couple of minutes before I figured out why (0..row.length) didn't work as expected :-) -- bjorn