Sha256: 678c9553b6f13cb8f64be7dfa876c2bff9390682b62c1519fd8836149bcd6e70
Contents?: true
Size: 633 Bytes
Versions: 2
Compression:
Stored size: 633 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 @logger.close if @logger @logger = Logger.new(File.open(File::NULL, "w")) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pups-1.2.1 | lib/pups.rb |
pups-1.2.0 | lib/pups.rb |