Loops through an array, executes the body, returns the original array., .times, .each, Iterates the given block int times, passing in values from zero to int ­- 1., .map, .times, Creates a new array containing the values returned by the block., .map, .each, Returns the first for which block is true. If no object matches then it returns nil., .find_all / .select, .find / .detect, Returns a new array containing all elements of the array for which the given block returns a true value., .find_all / .select, .find / .detect

Ruby - Enumerables

Leaderboard

Visual style

Options

Switch template

Continue editing: ?