= private = protected
eof()
Returns true if strio is at end of file. The stringio must be opened for reading or an IOError will be raised.
static VALUE strio_eof(VALUE self) { struct StringIO *ptr = readable(StringIO(self)); if (ptr->pos < RSTRING_LEN(ptr->string)) return Qfalse; return Qtrue; }