Michael P. Soulier
11/1/2006 4:52:00 AM
Hi,
I've seen a lot of examples in Rails code where they're accessing what appear
to be instance variables from self. Something like
self.foo = true
Now, I'm assuming that you can only access methods this way, so this is
actually a method call of
self.foo=(true)
Is that right? I'm not always clear on it.
Thanks,
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein