On Sun, 12 Nov 2006 18:15:48 -0000, Mariano Kamp <mariano.kamp / acm.org>  
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.

-- 
Ross Bamford - rosco / roscopeco.remove.co.uk