Method: Net::SSH::Connection::Channel#eof?
- Defined in:
- lib/net/ssh/connection/channel.rb
#eof? ⇒ Boolean
Returns true if the local end of the channel has declared that no more data is forthcoming (see #eof!). Trying to send data via #send_data when this is true will result in an exception being raised.
295 296 297 |
# File 'lib/net/ssh/connection/channel.rb', line 295 def eof? @eof end |