Sha256: 4714eaa683814590a43e6c41219fc4dbab266e37eec6cf65f2ab81fa6f79d6e3
Contents?: true
Size: 543 Bytes
Versions: 3
Compression:
Stored size: 543 Bytes
Contents
require "milc/version" require 'logger' module Milc autoload :Base , 'milc/base' autoload :Dsl , 'milc/dsl' autoload :Gcloud , 'milc/gcloud' autoload :Command, 'milc/command' class << self attr_accessor :dry_run attr_reader :verbose def verbose=(value) @verbose = value logger.level = @verbose ? Logger::DEBUG : Logger::INFO value end def logger unless @logger @logger = Logger.new($stdout) @logger.level = Logger::INFO end @logger end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
milc-0.2.2 | lib/milc.rb |
milc-0.2.1 | lib/milc.rb |
milc-0.2.0 | lib/milc.rb |