Class: SSHKit::Interact::Backend

Inherits:
Backend::Netssh
  • Object
show all
Defined in:
lib/sshkit/interact/backend.rb

Overview

Backend with interactivity

Instance Method Summary collapse

Instance Method Details

#interact(*args) ⇒ Object



10
11
12
# File 'lib/sshkit/interact/backend.rb', line 10

def interact(*args)
  SSHKit::Interact::Command.new(host, command(*args)).execute
end