map_by_method

Posted by Matt Williams

If you have a collection of objects, such as an array of students, and you want to quickly and easily capture their names, you can use: students.map_by_name which will return the names of the students as an array. This is a ruby gem and you can find more information about it at: map_by_method
Comments

Leave a response