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.107 lib/docman/exec.rb
docman-0.0.106 lib/docman/exec.rb
docman-0.0.105 lib/docman/exec.rb
docman-0.0.104 lib/docman/exec.rb
docman-0.0.103 lib/docman/exec.rb
docman-0.0.102 lib/docman/exec.rb
docman-0.0.101 lib/docman/exec.rb
docman-0.0.100 lib/docman/exec.rb
docman-0.0.99 lib/docman/exec.rb
docman-0.0.98 lib/docman/exec.rb
docman-0.0.97 lib/docman/exec.rb
docman-0.0.96 lib/docman/exec.rb
docman-0.0.95 lib/docman/exec.rb
docman-0.0.94 lib/docman/exec.rb
docman-0.0.93 lib/docman/exec.rb
docman-0.0.92 lib/docman/exec.rb
docman-0.0.91 lib/docman/exec.rb
docman-0.0.90 lib/docman/exec.rb
docman-0.0.89 lib/docman/exec.rb
docman-0.0.88 lib/docman/exec.rb