Method: OpenSSL::Buffering#eof?
- Defined in:
- lib/openssl/buffering.rb
#eof? ⇒ Boolean Also known as: eof
Returns true if the stream is at file which means there is no more data to be read.
331 332 333 334 |
# File 'lib/openssl/buffering.rb', line 331 def eof? fill_rbuff if !@eof && @rbuffer.empty? @eof && @rbuffer.empty? end |