From: Jeff Cohen Date: 2006-03-15T09:54:50+09:00 Subject: Re: Scope of an @variable rtilley wrote: > This may be wrong, but I like to think of @@ as a class variable and @ > as a method variable. @@ is accessible by any method in the class and @ > is accessible by the method only. You're close. @ are instance variables. Any instance method in your class can access them. (Maybe you're thinking of local variables, which are defined within a method and are accessible by that method only.) Jeff www.softiesonrails.com www.jeffcohenonline.com -- Posted via http://www.ruby-forum.com/.