Sha256: cfde78bdad76c8927fd482f94bc796998f3817633f68c833c1e44fca2c1faa47

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require "rsync/version"
require "rsync/command"
require "rsync/result"

module Rsync
  def self.command(args = [], &block)
    output = Command.new(args).run
    exitcode = $?
    result = Result.new(output, exitcode)
    yield(result) if block_given?
    result
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rsync-0.0.1 lib/rsync.rb