From: James Britt Date: 2005-10-07T11:48:59+09:00 Subject: Re: is there a way to add attributes to instances? ako... wrote: > hello, > > is there a way to add properties to instances and access them later > just like if they were defined in the object's class? > > > a.newproperty = 123 > puts a.newproperty > > i know how to dynamically add newproperty to the class of instance 'a', > but is there a way to do it per instance? or do i have to maintain an > explicit hash table on my objects and access these attributes through > the table? class <