eof?()
Returns true if the stream is at file which means there is no more data to be read.
# File ext/openssl/lib/openssl/buffering.rb, line 298 def eof? fill_rbuff if !@eof && @rbuffer.empty? @eof && @rbuffer.empty? end