Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby map array

array = ["a", "b", "c"]
array.map { |string| string.upcase }
# ["A", "B", "C"]
 
PREVIOUS NEXT
Tagged: #ruby #map #array
ADD COMMENT
Topic
Name
9+1 =