method

syswrite

v1_8_6_287 - Show latest stable - Class: StringIO
syswrite(p1)
public

Appends the given string to the underlying buffer string of strio. The stream must be opened for writing. If the argument is not a string, it will be converted to a string using to_s. Returns the number of bytes written. See <a href="/ruby/IO/write">IO#write</a>.