From: James Edward Gray II Date: 2004-11-12T04:29:38+09:00 Subject: Re: ruby idiom for attribute definition? On Nov 11, 2004, at 1:18 PM, Corey wrote: > Cool - I hadn't run into that in the Pickaxe yet; I think I like it a > little > better that the Struct suggestion ( thanks Dave ) for my particular > purposes in this case. For what it's worth, I think the Struct is better OO design. I'm firmly in the "Ask for help, not information." camp of OO programmers, so I try to avoid "getters/setters" whenever possible. A Struct on the other hand is just a record holder to my mind, so I have much less problem with using it in a case like this. Not trying to start a Holy War here, just tossing in my two cents. James Edward Gray II