Class: DeepTest::Distributed::RSync
- Inherits:
-
Object
- Object
- DeepTest::Distributed::RSync
- Defined in:
- lib/deep_test/distributed/rsync.rb
Defined Under Namespace
Classes: Args
Class Method Summary collapse
Class Method Details
.sync(connection_info, options, destination) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/deep_test/distributed/rsync.rb', line 4 def self.sync(connection_info, , destination) command = Args.new(connection_info, ).command(destination) DeepTest.logger.debug("rsycing: #{command}") successful = system command raise "RSync Failed!!" unless successful end |