From: jantzeno Date: 2007-08-15T07:07:00+09:00 Subject: Re: Class Instantiation > > The best and most common advice given in response to this question is: > do it with a hash instead, like this: > > people = {} > names.each {|name| people[name] = Person.new } > This was going to be my next question. Then I can do a: people["john"].name = "john" Brilliant, thanks.