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

6 lines
113 B
Ruby

abc = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]
# Add your code below!
puts abc.collect{ |x| x + "!"}