instance method Enumerable#collect
Enumerable#collect([iterator = Prototype.K[, context]]) → Array
Returns the results of applying the iterator to each element.
Aliased as Enumerable#map
.
Aliased as: Enumerable#map
Enumerable#collect([iterator = Prototype.K[, context]]) → Array
Returns the results of applying the iterator to each element.
Aliased as Enumerable#map
.
Aliased as: Enumerable#map