From: Harnish Botadra Date: 2007-10-05T09:17:57+09:00 Subject: Mapping an object Hi, This is Harnish. I am looking for a way to map an object. Ex: Instead of doing, resultset = A.get_arr result = resultset[0].my_obj Can I combine the 2 statements into 1 when I know that my A.get_arr is sure to return an array with just 1 object. Thanks for your help. Regards, Harnish -- Posted via http://www.ruby-forum.com/.