From: James Edward Gray II Date: 2006-07-21T04:47:03+09:00 Subject: Re: Using .each with constructors On Jul 20, 2006, at 2:25 PM, Ben Zealley wrote: > I notice the first two can be combined to > > a, b, c = Array.new(3) { SomeClass.new } > > losing both the .map and the |i|, and that still works I was just using the i to produce different Strings so you could see what was going on in the output. ;) James Edward Gray II