Module: SSHKit::Backend
- Defined in:
- lib/sshkit/backends/local.rb,
lib/sshkit/backends/netssh.rb,
lib/sshkit/backends/printer.rb,
lib/sshkit/backends/skipper.rb,
lib/sshkit/backends/abstract.rb,
lib/sshkit/backends/netssh/known_hosts.rb,
lib/sshkit/backends/netssh/scp_transfer.rb,
lib/sshkit/backends/netssh/sftp_transfer.rb
Defined Under Namespace
Classes: Abstract, ConnectionPool, Local, Netssh, Printer, Skipper
Constant Summary collapse
Class.new(SSHKit::StandardError)
Class Method Summary collapse
-
.current ⇒ Object
The Backend instance that is running in the current thread.
Class Method Details
.current ⇒ Object
18 19 20 |
# File 'lib/sshkit/backends/abstract.rb', line 18 def self.current Thread.current["sshkit_backend"] end |