Method: Net::SSH::Connection::Channel#do_eof

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

#do_eofObject

Invokes the #on_eof callback when the server indicates that no further data is forthcoming. The callback is invoked with the channel as the argument.



583
584
585
# File 'lib/net/ssh/connection/channel.rb', line 583

def do_eof
  @on_eof.call(self) if @on_eof
end