method

close

ruby latest stable - Class: StringIO
close()
public

Closes strio. The strio is unavailable for any further data operations; an IOError is raised if such an attempt is made.