From: Tushar Gandhi Date: 2008-08-19T18:06:43+09:00 Subject: Array API Hi, I am going through the ruby Array API. In the API , there is staetment Included Modules Enumerable Is this means that we are inheriting the enumerable class to array? Also there is sort_by method for the enumerable object, but I am able to use this method for array of object. I have this type of array of Object:- [#nil, "lastname"=>"aikhe", "firstname"=>"mita", "id"=>"1"}>,#nil, "lastname"=>"aikhe", "firstname"=>"na", "id"=>"2"}>] How it is possible that we are able to use enumerable sort_by method for an array of object? Thanks & Regards, Tushar -- Posted via http://www.ruby-forum.com/.