close()
public
Closes strio. The strio is unavailable for any further data
operations; an IOError is raised if
such an attempt is made.
Show source
static VALUE
strio_close(VALUE self)
{
StringIO(self);
RBASIC(self)->flags &= ~STRIO_READWRITE;
return Qnil;
}