From: "Hal E. Fulton" Date: 2003-08-22T05:48:45+09:00 Subject: Re: Class variables - a surprising result ----- Original Message ----- From: "Mark J. Reed" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Thursday, August 21, 2003 3:35 PM Subject: Re: Class variables - a surprising result > On Fri, Aug 22, 2003 at 04:23:12AM +0900, Michael Campbell wrote: > > What do you mean by "not inherited"... I'm sure you're correct, but I'm > > confused: > > You're only confused because you're assuming I'm correct. :) I > was mistaken; I was thinking of other oddities with static members > and inheritance. Well, I think that in Java/C++ they're inherited but not shared. In Ruby they're shared. Of course, there's an ugly trick that gets around this... can anyone guess it? David showed it to me once. Hal -- Hal Fulton hal9000@hypermetrics.com