= private = protected
close()
Closes strio. The strio is unavailable for any further data operations; an IOError is raised if such an attempt is made.
static VALUE strio_close(VALUE self) { StringIO(self); if (CLOSED(self)) { rb_raise(rb_eIOError, "closed stream"); } RBASIC(self)->flags &= ~STRIO_READWRITE; return Qnil; }