Class Index [+]

Quicksearch

Net::SSH::Test::Extensions::BufferedIo

An extension to Net::SSH::BufferedIo (assumes that the underlying IO is actually a StringIO). Facilitates unit testing.

Attributes

select_for_write[RW]

Set this to true if you want the IO to pretend to be available for writing

select_for_error[RW]

Set this to true if you want the IO to pretend to be in an error state

Public Instance Methods

select_for_read?() click to toggle source

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
22:       def select_for_read?
23:         pos < size
24:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.