lib/em-ssh/shell.rb
# Close this shell and all children.
# Even when a shell is closed it is still connected to the server.
# Fires :closed event.
# @see Callbacks
Close this shell and all children.
Even when a shell is closed it is still connected to the server.
Fires :closed event.
Close this shell and all children . Even when a shell is closed it is still connected to the server . Fires : closed event .
def close
        shell.close.tap{ debug("closing") } if shell && shell.active?
        @closed = true
        children.each { |c| c.close }
        fire(:closed)
      end
def close shell . close . tap { debug ( "closing" ) } if shell && shell . active? @closed = true children . each { | c | c . close } fire ( :closed ) end
Close this shell and all children.
Close this shell and all children .
see
None