Method: StringIO#closed_write?
- Defined in:
- ext/stringio/stringio.c
#closed_write? ⇒ Boolean
Returns true if self is closed for writing, false otherwise.
585 586 587 588 589 590 591 |
# File 'ext/stringio/stringio.c', line 585 static VALUE strio_closed_write(VALUE self) { StringIO(self); if (WRITABLE(self)) return Qfalse; return Qtrue; } |