Sha256: d72165a9889f10df8ce169c283c3679d5f662463bb5bdc1cf7150db94ff481ae

Contents?: true

Size: 237 Bytes

Versions: 23

Compression:

Stored size: 237 Bytes

Contents

module Minke
  module Docker
    class SystemRunner

      def execute command
        system("#{command}")
      end

      def execute_and_return command
        log = `#{command}`
        return log.strip
      end

    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
minke-1.5.9 lib/minke/docker/system_runner.rb
minke-1.5.8 lib/minke/docker/system_runner.rb
minke-1.5.7 lib/minke/docker/system_runner.rb
minke-1.5.6 lib/minke/docker/system_runner.rb
minke-1.5.5 lib/minke/docker/system_runner.rb
minke-1.5.4 lib/minke/docker/system_runner.rb
minke-1.5.3 lib/minke/docker/system_runner.rb
minke-1.5.2 lib/minke/docker/system_runner.rb
minke-1.5.1 lib/minke/docker/system_runner.rb
minke-1.5.0 lib/minke/docker/system_runner.rb
minke-1.4.0 lib/minke/docker/system_runner.rb
minke-1.3.0 lib/minke/docker/system_runner.rb
minke-1.2.0 lib/minke/docker/system_runner.rb
minke-1.1.0 lib/minke/docker/system_runner.rb
minke-1.0.9 lib/minke/docker/system_runner.rb
minke-1.0.8 lib/minke/docker/system_runner.rb
minke-1.0.7 lib/minke/docker/system_runner.rb
minke-1.0.6 lib/minke/docker/system_runner.rb
minke-1.0.5 lib/minke/docker/system_runner.rb
minke-1.0.4 lib/minke/docker/system_runner.rb