From: "David A. Black" Date: 2009-10-11T04:10:02+09:00 Subject: Re: Class Level inheritable attributes - are we there yet? --1926193751-744524940-1255201786=:10015 Content-Type: MULTIPART/MIXED; BOUNDARY="1926193751-744524940-1255201786=:10015" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1926193751-744524940-1255201786=:10015 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Hi -- On Sun, 11 Oct 2009, dreamcat four wrote: > The problem with class variables in Ruby, is that a class variable is > the same object across all subclasses of a class. This is in my > opinion almost never what you’d want. More probable is that you’d want > the individual class instance to have an accessor. (Remember classes > are objects in Ruby). Oh, there are lots of problems with class variables :-) I didn't mention them. Was there something in my post that made it sound like I was suggesting class variables? David -- The Ruby training with D. Black, G. Brown, J.McAnally Compleat Jan 22-23, 2010, Tampa, FL Rubyist http://www.thecompleatrubyist.com David A. Black/Ruby Power and Light, LLC (http://www.rubypal.com) --1926193751-744524940-1255201786=:10015-- --1926193751-744524940-1255201786=:10015--