Method: StringIO#eof

Defined in:
stringio.c

#eofBoolean #eof?Boolean

Returns true if strio is at end of file. The stringio must be opened for reading or an IOError will be raised.

Overloads:

  • #eofBoolean

    Returns:

    • (Boolean)
  • #eof?Boolean

    Returns:

    • (Boolean)


483
484
485
# File 'stringio.c', line 483

static VALUE
strio_eof(self)
VALUE self;