--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Registers a callback to be invoked when the server acknowledges that a channel is closed. This is invoked with the channel as the sole argument.
- !ruby/struct:SM::Flow::VERB 
  body: "  channel.on_close do |ch|\n    puts &quot;remote end is closing!&quot;\n  end\n"
full_name: Net::SSH::Connection::Channel#on_close
is_singleton: false
name: on_close
params: (&block)
visibility: public
