Strings In Depth5 / 19
Up next

Concatenate

# + builds a new string
greeting = "hello" + " " + "world"
# << mutates the receiver
buf = "ru"
buf << "by"
puts greeting
puts buf
What you're solving

+ returns new, << appends in place