# File lib/net/ssh/connection/channel.rb, line 584 def do_close @on_close.call(self) if @on_close end