From: Eric Hodel Date: 2006-12-06T10:25:05+09:00 Subject: Re: Unexpected scope range On Dec 5, 2006, at 13:35 , Paul Lutus wrote: > gwtmp01@mac.com wrote: >> On Dec 5, 2006, at 11:45 AM, Paul Lutus wrote: >>> In Ruby, variables used within a method are marked this way: >>> [..] >>> @example # class instance variable >> >> This doesn't seem like standard terminology to me. Usually these >> are simply called 'instance variables' as each instance of a class >> (or each object if you prefer) has its own private set of instance >> variables. These variables belong to the instance (object) and not >> to the associated class. > > Yes, this is only a matter of terminology. My term "class instance" > is the > same as your use of "instance". I say it this way only for clarity of > expression. There is no such thing as a "class instance variable" in Ruby. Classes are real objects too, and they have "instance variables" just like everybody else. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!