method

prepend

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: String
prepend(p1) public

Prepend—Prepend the given string to str.

a = "world"
a.prepend("hello ") #=> "hello world"
a                   #=> "hello world"
Show source
Register or log in to add new notes.