Sha256: 02369924292db8d21464fa0ce839c93a3204564c5ec69ed68964f8aaafae209e

Contents?: true

Size: 125 Bytes

Versions: 102

Compression:

Stored size: 125 Bytes

Contents

module Docman

  class Exec

    def Exec.do(cmd, output = false)
      `#{cmd}`
      $?.exitstatus == 0
    end

  end

end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
docman-0.0.67 lib/docman/exec.rb
docman-0.0.66 lib/docman/exec.rb
docman-0.0.65 lib/docman/exec.rb
docman-0.0.64 lib/docman/exec.rb
docman-0.0.63 lib/docman/exec.rb
docman-0.0.62 lib/docman/exec.rb
docman-0.0.61 lib/docman/exec.rb
docman-0.0.60 lib/docman/exec.rb
docman-0.0.59 lib/docman/exec.rb
docman-0.0.58 lib/docman/exec.rb
docman-0.0.57 lib/docman/exec.rb
docman-0.0.56 lib/docman/exec.rb
docman-0.0.55 lib/docman/exec.rb
docman-0.0.54 lib/docman/exec.rb
docman-0.0.53 lib/docman/exec.rb
docman-0.0.52 lib/docman/exec.rb
docman-0.0.51 lib/docman/exec.rb
docman-0.0.50 lib/docman/exec.rb
docman-0.0.49 lib/docman/exec.rb
docman-0.0.48 lib/docman/exec.rb