Files
dockerfiles/tests/ruby/testcase/convertstringstosymbols.rb
T
2019-08-04 22:54:34 -07:00

9 lines
154 B
Ruby

strings = ["HTML", "CSS", "JavaScript", "Python", "Ruby"]
# Add your code below!
symbols = []
strings.each { |x| symbols.push(x.to_sym) }
puts symbols