I am looking for a more elegant way of concatenating strings in Ruby.
I have the following line:
source = \"#{ROOT_DIR}/\" << project <<
You may use + or << operator, but in ruby .concat function is the most preferable one, as it is much faster than other operators. You can use it like.
+
<<
.concat
source = "#{ROOT_DIR}/".concat(project.concat("/App.config"))