Sha256: 63f8482c82a52acbc1a82d050e0e2680ef546da7c02e244e17eacdb1f2df804c
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
module Rsync class Command def initialize(args) @args = args.join(" ") end def run run_command("rsync --itemize-changes #{@args}") end def run_command(cmd, &block) if block_given? IO.popen("#{cmd} 2>&1", &block) else `#{cmd} 2>&1` end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsync-0.0.1 | lib/rsync/command.rb |