Method: Net::SSH::Test::Extensions::BufferedIo#select_for_read?

Defined in:
lib/net/ssh/test/extensions.rb

#select_for_read?Boolean

Returns true if the position in the stream is less than the total length of the stream.

Returns:

  • (Boolean)


22
23
24
# File 'lib/net/ssh/test/extensions.rb', line 22

def select_for_read?
  pos < size
end