readline(eol=$/)
Reads a line from the stream which is separated by eol.
Raises EOFError if at end of file.
# File ext/openssl/lib/openssl/buffering.rb, line 252 def readline(eol=$/) raise EOFError if eof? gets(eol) end