Sha256: 24cb685691b342d37ba459370646751bef1e41237b727a87c57a8555cc907389
Contents?: true
Size: 647 Bytes
Versions: 2
Compression:
Stored size: 647 Bytes
Contents
# frozen_string_literal: true require 'logger' require 'yaml' require 'pups/version' require 'pups/config' require 'pups/command' require 'pups/exec_command' require 'pups/merge_command' require 'pups/replace_command' require 'pups/file_command' require 'pups/docker' require 'pups/runit' module Pups class ExecError < RuntimeError attr_accessor :exit_code end def self.log # at the moment docker likes this @logger ||= Logger.new($stderr) end def self.log=(logger) @logger = logger end def self.silence if @logger @logger.close end @logger = Logger.new(File.open(File::NULL, "w")) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pups-1.1.1 | lib/pups.rb |
pups-1.1.0 | lib/pups.rb |