From: Sebastian Hungerecker Date: 2009-01-02T00:05:07+09:00 Subject: Re: How do I pass the name of an instance variable into an object? Glenn wrote: > Can anyone tell me how I could create a method that would allow me to add > instance variables to an object? object.instance_variable_set(:@variable_name, "value") HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826