Class: Net::SSH::Multi::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/chef/monkey_patches/net-ssh-multi.rb

Instance Method Summary collapse

Instance Method Details

#busy?(include_invisible = false) ⇒ Boolean

Make sure that server returns false if the ssh connection has failed.

Returns:

  • (Boolean)


50
51
52
# File 'lib/chef/monkey_patches/net-ssh-multi.rb', line 50

def busy?(include_invisible = false)
  !failed? && session && session.busy?(include_invisible)
end