Method: PSWindows::Host#initialize
- Defined in:
- lib/beaker/host/pswindows.rb
#initialize(name, host_hash, options) ⇒ Host
Returns a new instance of Host.
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/beaker/host/pswindows.rb', line 25 def initialize name, host_hash, super @scp_separator = '/' # %TEMP% == C:\Users\ADMINI~1\AppData\Local\Temp # is a user temp path, not the system path. Also, it doesn't work, there's # probably an issue with the `ADMINI~1` section @system_temp_path = 'C:\\Windows\\Temp' @external_copy_base = nil # @external_copy_base = '/programdata' end |