From: Austin Ziegler Date: 2005-07-03T01:43:02+09:00 Subject: Re: class variable leading a double life On 7/2/05, Brent W. Hughes wrote: > I thought that Test.inc was a class method that could be called without > ever instantiating an object of class Test, and that therefore there > would be no "self". Are you saying that Test is not just a class, but > is also an instance of some other class? I don't understand, but then > I'm just a newbie to Ruby. Ruby isn't Java or C++; in Ruby (like in Smalltalk, I think), essentially everything is an object, including classes. Class objects are instances of class Class. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca