From: Vivek Date: 2005-12-22T18:07:52+09:00 Subject: Re: When are attr_reader type methods called? Ok ..sorry for the wrong code.What I meant was do have a class method.Thanks for the explanation ..so now I have this below (I learnt the instance_eval from Ross' examples) class X @ivar = 1 def self.call_this puts "call this" @var = 1 end end class A anObject But here and in Ross' examples we call it on a class ? Is the documentation incorrect or am i missing something. thanks again vivek