method

concat

v1_8_6_287 - Show latest stable - Class: String
concat(p1)
public

Append---Concatenates the given object to str. If the object is a Fixnum between 0 and 255, it is converted to a character before concatenation.

   a = "hello "
   a << "world"   #=> "hello world"
   a.concat(33)   #=> "hello world!"