Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
StringIO#closed_write?
() -> bool
closed_write? → true or false
ext/stringio/stringio.c
View on GitHub ↗
static VALUE
strio_closed_write(VALUE self)
{
StringIO(self);
if (WRITABLE(self)) return Qfalse;
return Qtrue;
}
Returns true if self is closed for writing, false otherwise.