Mega Code Archive

 
Categories / Ruby / String
 

An alternative to is the concat method (which does not allow you to chain)

puts "Hello, ".concat "myValue!"