On Sun, 18 Jan 2009 07:33:29 -0500, Zhao Yi wrote:

> In a ruby class, what does a variable "@@name" mean? Does it mean static
> variable? Does its subclass have access to this field?

"static variable" means different things in different contexts in C and 
Java, but @@variables are roughly equivalent to those defined by 
following Java code:

public class Foo{
  private static int bar=0;
}



-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/