End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
StringIO#flush
flush
ext/stringio/stringio.c
View on GitHub ↗
static VALUE
strio_self(VALUE self)
{
StringIO(self);
return self;
}
Returns an object itself. Just for compatibility to IO.