Mega Code Archive

 
Categories / Ruby / Language Basics
 

Put two or more variables together with the + method

hi = "Hello, " person = "Matz!" puts hi + person # => Hello, Matz!