From: Matt Slay Date: 2010-12-07T13:56:44+09:00 Subject: Re: Better way to read property than using eval()? > x = @tolerance2.send(@size[2]) Thanks, Robert, this does work fine.... However, in further studies on this topic, I have stumbled across the .attributes() method, which seems like a more sensibly named thing to see in code, and appears to accomplish the same thing. x = @tolerance2.attributes[@size[2]] Any reason that one is better than the other in my case. I can see that send() can even call a method, and that could be useful, but in this case, I am specifically looking for an attribute value by it's name. -- Posted via http://www.ruby-forum.com/.