Both map and collect are looping methods that can be used interchangeably in Ruby. The map method features enumerable objects like arrays, hashes, and ranges.
確定! 回上一頁