From: Steve Tuckner Date: 2003-07-26T03:18:11+09:00 Subject: Re: Trouble with inherited In my case, I am interested in getting a string that would be specific to that class (and not the class name). I am using this name as a hash key from the name to the class. Now I can simply save the class in a list and then when the hash would be used later, I can simply generate the hash at that time for each request. This seems not as elegant but probably is not much of a real speed penalty. Is there a better more elegant way of doing this? Steve > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Friday, July 25, 2003 11:40 AM > To: ruby-talk ML > Cc: ruby-talk@ruby-lang.org > Subject: Re: Trouble with inherited > > > >>>>> "S" == Steve Tuckner writes: > > S> What suggestion do you have to get information from the > subclass that is > S> inheriting from the superclass? > > What information do you want ? In your case, the class was > just created > and has not yet specifics methods. > > Guy Decoux > >