Mega Code Archive

 
Categories / Ruby / String
 

Print one word three times, then add or append more text with +

puts "Hello, " * 3 + "Matz!"