From: Ross Bamford Date: 2005-12-22T22:27:48+09:00 Subject: Re: When are attr_reader type methods called? On Thu, 22 Dec 2005 10:05:44 -0000, Patrick Hurley wrote: > On 12/22/05, Vivek wrote: >> But here and in Ross' examples we call it on a class ? Is the >> documentation incorrect or am i missing something. > > You were (because I know you got it from my pitiful explanation :-) > were missing that a Class is an Object. > (OP:) See also my 'Eureka' moment: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/167586 . I have a feeling you're not far from discovering Ruby magic - stick with it :) -- Ross Bamford - rosco@roscopeco.remove.co.uk