Sha256: 5aea8c1b7b65ff1b0b420d0bf2303d656519e94f3cc58ae7824b45201328ebfe
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), '..') require 'cotta' module BuildMaster class PscpDriver def initialize(server_url, cotta = Cotta.new()) @server_url = server_url @cotta = cotta end def copy(source, target) @cotta.shell("pscp -r #{source} #{@server_url}:#{target}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-1.1.9 | lib/buildmaster/project/pscp_driver.rb |