From: Mariano Kamp Date: 2006-11-13T06:16:05+09:00 Subject: Re: Where is attr_accessor located? --Apple-Mail-5-375327827 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Nov 12, 2006, at 8:00 PM, Ross Bamford wrote: >> After looking at the rdoc documentation I would have assumed that >> attr_accessor would be a private method of Module, not of Kernel. >> > > It's because: > > Kernel.is_a?(Module) > # => true > > and the attr* methods are instance methods on Module. Yes, I _believe_ I understood that. It is "used" there. Maybe that is what I don't get ... Why doesn't the method show up in Module? Cheers, Mariano --Apple-Mail-5-375327827--