From: Dave Aronson Date: 2012-06-10T08:22:19+09:00 Subject: Re: Class variables and self On Sat, Jun 9, 2012 at 5:20 PM, Mike Glaz wrote: > so is self.total_count equal to self.class.total_count? Nope. Assuming that "self" at that time is an individual Car, self.total_count would be an instance variable on that Car. self.class.total_count belongs to class Car, because that's self.class. Think of it like a literal class, like in a classroom in school. Self (in this situation) is an individual student. He doesn't have a total_count. But the class itself does. -Dave --  Dave Aronson, Cleared/Remote Ruby on Rails Freelancer (NoVa/DC/Remote); see www.DaveAronson.com, and blogs at www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com