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.27 lib/docman/exec.rb
docman-0.0.26 lib/docman/exec.rb
docman-0.0.25 lib/docman/exec.rb
docman-0.0.24 lib/docman/exec.rb
docman-0.0.23 lib/docman/exec.rb
docman-0.0.22 lib/docman/exec.rb
docman-0.0.21 lib/docman/exec.rb
docman-0.0.20 lib/docman/exec.rb
docman-0.0.19 lib/docman/exec.rb
docman-0.0.18 lib/docman/exec.rb
docman-0.0.17 lib/docman/exec.rb
docman-0.0.16 lib/docman/exec.rb
docman-0.0.15 lib/docman/exec.rb
docman-0.0.14 lib/docman/exec.rb
docman-0.0.13 lib/docman/exec.rb
docman-0.0.12 lib/docman/exec.rb
docman-0.0.11 lib/docman/exec.rb
docman-0.0.10 lib/docman/exec.rb
docman-0.0.9 lib/docman/exec.rb
docman-0.0.8 lib/docman/exec.rb