Method: StringIO#closed_read?
- Defined in:
- ext/stringio/stringio.c
#closed_read? ⇒ Boolean
Returns true if self is closed for reading, false otherwise.
571 572 573 574 575 576 577 |
# File 'ext/stringio/stringio.c', line 571 static VALUE strio_closed_read(VALUE self) { StringIO(self); if (READABLE(self)) return Qfalse; return Qtrue; } |