From: Corey Date: 2004-11-11T13:27:42+09:00 Subject: ruby idiom for attribute definition? Hey! What do you guys do when you have a class with lots of simple attributes? Do you use attr_reader, and attr_writer shortcuts with each of the attributes? Or do you use a singe method (say, object.set('attr', 'val') for all of them? Or do you manually create each of the reader/writer methods? Also, how many attributes does it take to be considered "alot"? ( I've got a really small class going, with about 9 or 10 simple attributes - each of them readable and writeable. ) Thanks! Beers, Corey -- Misery is the river of the world. Everybody row. - Tom Waits