method

close_write

ruby latest stable - Class: StringIO
close_write()
public

Closes the write end of a StringIO. Will raise an IOError if the strio is not writeable.