On Sun, Jan 29, 2012 at 1:33 PM, jake kaiden <jakekaiden / yahoo.com> 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).