Class: Dployr::Scripts::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/dployr/scripts/shell.rb

Instance Method Summary collapse

Constructor Details

#initialize(ip, host, username, private_key_path, script) ⇒ Shell

Returns a new instance of Shell.



7
8
9
10
11
12
13
14
# File 'lib/dployr/scripts/shell.rb', line 7

def initialize(ip, host, username, private_key_path, script)
  @ip = ip
  @host = host
  @username = username
  @private_key_path = private_key_path
  @script = script
  start
end