ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Where is attr_accessor located?
by Ross Bamford other posts by this author
Nov 12 2006 11:00AM messages near this date
Where is attr_accessor located? | Re: Where is attr_accessor located?
On Sun, 12 Nov 2006 18:15:48 -0000, Mariano Kamp <mariano.kamp@[...].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
Thread:
Mariano Kamp
Ross Bamford
Mariano Kamp
Mauricio Fernandez
Mariano Kamp

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved