Difference between map and collect in Ruby? Difference between map and collect in Ruby? arrays arrays