An extension to Net::SSH::BufferedIo (assumes that the underlying IO is actually a StringIO). Facilitates unit testing.
Set this to true if you want the IO to pretend to be in an error state
Set this to true if you want the IO to pretend to be available for writing
Returns true if the position in the stream is less than the total length of the stream.
# File lib/net/ssh/test/extensions.rb, line 22 def select_for_read? pos < size end
[Validate]
Generated with the Darkfish Rdoc Generator 2.