On 7/20/06, Ben Zealley <transhumanist / gmail.com> wrote:
> is the best way to do it. I can populate an array, but let's
> hypothesise that for reasons relating to irritating corporate coding
> standards, the variables need specific names... ;)
I am sure some of the real Ruby hackers will have a better solution,
but you can do something like:
a,b,c = Array.new(3).map { Foo.new(42) }
pth