From: Markus Jais Date: 2002-06-04T18:39:20+09:00 Subject: Re: dynamic attr_accessor again using a hash >>>>>> "M" == Markus Jais writes: > > M> self.instance_eval " > M> @#{key}=value > M> " > > Use #send > send("#{key}=", value) > > You have created an attribute accessor, just use it :-) > of course!!! I tried this but had a stupid typo. maybe one should sleep more than 2 hours a night instead of playing with Ruby all night long :-) Thanks for pointing me to the obvious! markus > >Guy Decoux