instance method
OpenSSL::Buffering#readline
(?::String eol) -> ::String
readline(eol=$/)
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/buffering.rb, line 287
def readline(eol=$/)
raise EOFError if eof?
gets(eol)
end
Reads a line from the stream which is separated by eol.
Raises EOFError if at end of file.