Re: Scope of class instance variables?
On Mar 29, 11:40 am, Ruby Freak <twscann...@gmail.com> wrote:
> I am reading Hal Fulton's "The Ruby Way" On page 57 he makes the
> statement:
> "Class instance variables cannot be referenced from within instance
> methods and, in general are not very useful"
I think that just an out-dated way of looking at things. I expect Hal
would agree that needs to be updated to current trends.
I remember once, Hal and I got in a big argument about floating-point
arithmetic. A tad spiteful I pointed out a flaw in his book. Despite
the heated argument, he took it quite gracefully, saying he was always
happy to receive comments/corrections. That was pretty damn
respectable, IMHO. If he doesn't see this thread, write him directly.
T.
|