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!"
Show source
Register or log in to add new notes.