From: Manav Gupta Date: 2011-12-09T21:01:24+09:00 Subject: CONCEPT OF INSTANCE VARIABLE IN RUBY @x = 'Hello world' def printMe puts @x end int the above code section when a call printMe method it behaves as expected. However if I remove the '@' symbol making x as a local variable it throws an undefined name error. which is also as expected. But can anyone explain me in the previous case, what is the class for @x. Please explain me in details -- Posted via http://www.ruby-forum.com/.