From: Joe Pikachu Date: 2010-11-25T21:07:13+09:00 Subject: instance_eval vs attr_reader Hi, I'm new in forum; even newer in programming. I would like to know what is faster (uses less memory) to retrieve data? I use ruby 1.8 series. my_class.instance_eval(@var) or my_class.var #using attr_reader My question is based on the fact one have to asign a symbol to use the 'attr_reader' type thus creating 'memory leaks', while not in the former. But I'm not sure. Thank You. -- Posted via http://www.ruby-forum.com/.