Using the accepted answer as the definition of static variable can be dangerous, and it is a common error that I have seen in a lot of Ruby code.
Something like @@foos
is shared among ALL subclasses. However, most programmers expect static variables to have scope only within the class where they are defined.
If you are looking for static variables in the sense of most languages, where their scope is only their own class, look at this SO answer
Also this blog post has a nice example of the surprise most programmers will get:
http://www.railstips.org/blog/archives/2006/11/18/class-and-instance-variables-in-ruby/