From: "Jan E." Date: 2012-09-18T20:04:29+09:00 Subject: Re: Class variables Hi, I think the main problem here is that you somehow try to apply the concepts of another language to Ruby. Ruby isn't Java (or whatever it is you use). It doesn't have "attributes" in the sense of object variables you can set in the class body and access directly from the outside. class Test { int var = 5; void show() { System.out.println(var); } } -- Posted via http://www.ruby-forum.com/.