From: rolo Date: 2004-06-11T04:12:38+09:00 Subject: Re: Who own the constants? > -----Original Message----- > From: Robert Klemme [mailto:bob.news@gmx.net] > Sent: Thursday, June 10, 2004 4:34 PM > To: ruby-talk ML > Subject: Re: Who own the constants? > > > > "rolo" schrieb im Newsbeitrag > news:ACEPLIKLBKEMDDIELPKIGEPICGAA.rohitlodha@hotwireindia.com... > > Hi > > > > Who keeps the constants defined within a Module of the Class? > > What do you mean by "Module of the Class"? Sorry. Typo. Module or the Class. > > The Class in which it is defined or the last module in the > class hierarchy > ? > > Constants are always owned by the module or class they are defined in > although they are accessible from modules / classes that inherit the > defining class: > Thanks for this info. Regards, rolo