Sha256: ef60b2640bf603e52e849f94ac526f2e95b5aac1de751edfa27ac665d51dc88a
Contents?: true
Size: 230 Bytes
Versions: 3
Compression:
Stored size: 230 Bytes
Contents
module Caravan class Command class << self def run(cmd, debug = false) output = `#{cmd}` Caravan::Message.debug(cmd) if debug return $CHILD_STATUS.exitstatus, output end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
caravan-1.0.0 | lib/caravan/command.rb |
caravan-1.0.0.beta2 | lib/caravan/command.rb |
caravan-1.0.0.beta1 | lib/caravan/command.rb |