map the instances of a character ruby code example
Example: ruby map array
array = ["a", "b", "c"]
array.map { |string| string.upcase }
# ["A", "B", "C"]
array = ["a", "b", "c"]
array.map { |string| string.upcase }
# ["A", "B", "C"]