Ruby - String Operations
The following Ruby code is intended to split a string into words and then join them with a space, but it raises an error. What is the problem?
text = "hello world" words = text.split joined = words.join puts joined()
