Method: OpenSSL::Buffering#readline
- Defined in:
- lib/openssl/buffering.rb
#readline(eol = $/) ⇒ Object
Reads a line from the stream which is separated by eol.
Raises EOFError if at end of file.
284 285 286 287 |
# File 'lib/openssl/buffering.rb', line 284 def readline(eol=$/) raise EOFError if eof? gets(eol) end |