From: "ara.t.howard" Date: 2007-10-20T01:54:57+09:00 Subject: Re: Class instance variable idiom On Oct 19, 2007, at 9:39 AM, Daniel DeLorme wrote: > But this still works with ruby1.9! And it works in subclasses too. > As long as @@bufsize is within the lexical context of Parser, it > works just like 1.8. The difference is only if you try to use > @@bufsize within the (lexical) scope of a subclass. > yup. i haven't used that in anger so i really don't know if it'll be helpful or even more confusing - at least state can still be inherited, even with a somewhat crippled impl. time will tell! cheers. a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama