Method: Net::SSH::Connection::Channel#eof!

Defined in:
lib/net/ssh/connection/channel.rb

#eof!Object

Tells the remote end of the channel that no more data is forthcoming from this end of the channel. The remote end may still send data. The CHANNEL_EOF packet will be sent once the output buffer is empty.



302
303
304
305
# File 'lib/net/ssh/connection/channel.rb', line 302

def eof!
  return if eof?
  @eof = true
end