DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit