If you know C++.

@foo seams look link a normal member variable , i.e. private TYPE foo
@@foo seams look link a static member variable, i.e. static TYPE foo

Initialize the class variable in the constroctor is a good idea.
That's will make the class variable valide all of the class.
class xxx
    def initialize
        @@foo = XXXXX
    end
end


On 4/30/07, Ari Brown <ari / aribrown.com> wrote:
>
> On Apr 29, 2007, at 8:04 PM, Cory wrote:
> <snip>
>
> newbie question pertaining  to class level variables:
>
> What's the difference between @foo and @@foo? Is there even a
> difference?
>
> ---------------------------------------------------------------|
> ~Ari
> "I don't suffer from insanity. I enjoy every minute of it" --1337est
> man alive
>
>
>
>
>


-- 
/***********************************/
    Lets go With the float....
/***********************************/