From: Josh Cheek Date: 2012-01-30T05:16:24+09:00 Subject: Re: Class variables --0016e6db2928f8d95b04b7b065fe Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jan 29, 2012 at 1:33 PM, jake kaiden wrote: > > Variables are not directly exposed, there must always be a method that > > sets / gets the values > > > you could use attr_accessor - > > attr_accessor doesn't get around this, it writes methods that access the instance variables. In fact, it writes the same methods that I did (I wrote them out intentionally to make the relationship between the variable and the method more apparent). --0016e6db2928f8d95b04b7b065fe--