Instance Methods

See IO#getch.

See IO#getpass.

Similar to read, but raises EOFError at end of string unless the +exception: false+ option is passed in.

Like getbyte, but raises an exception if already at end-of-stream; see Byte IO.

Like getc, but raises an exception if already at end-of-stream; see Character IO.

Reads a line as with IO#gets, but raises EOFError if already at end-of-file; see Line IO.

Similar to read, but raises EOFError at end of string instead of returning nil, as well as IO#sysread does.