readlines(eol=$/)
Reads lines from the stream which are separated by eol.
See also #gets
# File ext/openssl/lib/openssl/buffering.rb, line 238 def readlines(eol=$/) ary = [] while line = self.gets(eol) ary << line end ary end