method

string=

ruby latest stable - Class: StringIO
string=(p1)
public

Changes underlying String object, the subject of IO.