From: senderista@... (Tobin Baker) Date: 2001-09-24T11:53:31+09:00 Subject: [ruby-talk:21615] Re: Factory for "struct"-ish classes? Imagine if a question like this had been asked on comp.lang.perl.misc... Kent Dahl wrote in message news:<3BABEEA9.6B37A06F@stud.ntnu.no>... > Sean Russell wrote: > > There exists a factory class for constructing minimal container classes. > > It works something like: > > > > class_class = Factory.new( "ClassName", :attr1, :attr2, :attr3 ) > > object = class.class.new > > object.attr1 = "blah" > > Struct? > http://www.rubycentral.com/ref/ref_c_struct.html