title: Are Ruby class variables similar to the Java static variables?
body: <p>I am transitioning to Ruby from Java and trying to understand Ruby scoping.</p>
  
  <p>It seems class variables behave the same as static variables in Java. Is this interpretation correct? If so, are Ruby global variables then equivalent to public static variables in Java?</p>