map « Array « Ruby






1.The map method returns a new array instead of a string.
2.Change array elements with map!
3.Map to uppercase
4.Array map with regular expression