From: Kent Dahl Date: 2001-09-23T11:42:33+09:00 Subject: [ruby-talk:21579] Re: Factory for "struct"-ish classes? 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 -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/