Sha256: 2cb115f7f96f87fc354f8d7d1e715e918bf24edbac8b03d9dbe8faf3c14e01ee
Contents?: true
Size: 483 Bytes
Versions: 17
Compression:
Stored size: 483 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 def mktmpdir Dir.mktmpdir end def remove_entry_secure dir FileUtils.remove_entry_secure dir end def write_file filename, data File.open(filename, 'w') { |file| file.write(data) } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems