From: WATANABE Hirofumi Date: 2002-10-24T16:06:40+09:00 Subject: Re: Struct and symbols Hi, Jean-Paul writes: > I have something like > > Record = Struct.new(:field1, :field2, :field3) > > How can I make the symbol list flexible and go from, say, > > s = ["field1", "field2", "field3"] to the above? Record = Struct.new(nil, *s) -- eban