From: Aleksander Ciesielski Date: 2012-09-18T19:07:17+09:00 Subject: Class variables Is it obligatory to use instance variables in classes? Can't we just write something like this: class Test var = 5 def show puts var end end test = Test.new test.show p test.var