From: Marc Heiler Date: 2008-09-06T07:20:41+09:00 Subject: Re: accessor methods for class methods > It seems odd that cattr_* (i.e. cattr_accessor, cattr_reader, > cattr_writer) is not in the native Ruby I can not answer this but personally I have stopped using class variables after - i had a smallish bug which was caused by a stupid usage I did long ago of a class variable - there really is not a huge need to use a class var in the first place (in my opinion and experience). So personally, for me, I have found that I can live perfectly happy without class vars, and in these times, whenever I can achieve the same with a very simple easy route, I use it. There may be a few valid use cases for a class var but I honestly have never seen them as being very important. -- Posted via http://www.ruby-forum.com/.