From: Steve Tu Date: 2012-11-27T18:40:59+09:00 Subject: Re: Novice: Understanding instance 'variables' and methods carlo, Got it. So in the :symbols Test code, the problem was where I added the accessor. The original code just had the method 'test' which in effect was a setter (presumably in Ruby parlance it could have been better called test= ?). I then added the 'attr_accessor :test' which presumably added a test= method, leaving the original 'test' method. So what I in effect ended up with were two setter methods 'test' (the original, which set @test to 10) and a new setter accessor (test=) that would set @test to whatever value I passed. I didn't actualyy have a getter method called 'test'. Now that starts to make sense, as every time I used t.test, I ended up with the 'puts' lines. Didn't take me long eh? Sorry for being a bit thick. -- Posted via http://www.ruby-forum.com/.