From: "Mauricio Fernández" Date: 2003-01-23T16:52:45+09:00 Subject: Re: POLS (with one case: "class variable") On Thu, Jan 23, 2003 at 10:26:39AM +0900, David Garamond wrote: > Justin White wrote: > >i'm guessing from those names, that your surprise is that class > >variables get inherited... > > > >why is this surprising? class methods get inherited, why shouldn't class > >variables? > > i'm mostly concerned with terminology. when people wants "class > variable", they actually want "instance variable of class" in ruby. ^^^^^^^^^^^^^^^^^^^^^^^^^^ class instance variable? This is AFAIK the standard terminology: class A; @@a = 1; end # class variable class A; def a; @a = 1; end; end # instance variable class A; @a = 1; end # class instance variable -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com <|ryan|> I don't use deb u poor man netgod: heh apt-get install task-p0rn