Sha256: 14465074c3a350705e0647c6e66a475af8a2173346899eb8fe693418a3349a87
Contents?: true
Size: 879 Bytes
Versions: 33
Compression:
Stored size: 879 Bytes
Contents
require "active_support" require "active_support/core_ext" require "yaml" require "cc/analyzer" require "cc/workspace" require "cc/yaml" module CC module CLI autoload :Analyze, "cc/cli/analyze" autoload :Command, "cc/cli/command" autoload :Console, "cc/cli/console" autoload :Engines, "cc/cli/engines" autoload :Help, "cc/cli/help" autoload :Init, "cc/cli/init" autoload :Runner, "cc/cli/runner" autoload :Test, "cc/cli/test" autoload :ValidateConfig, "cc/cli/validate_config" autoload :Version, "cc/cli/version" def self.debug? ENV["CODECLIMATE_DEBUG"] end def self.debug(message, values = {}) if debug? if values.any? message << " " message << values.map { |k, v| "#{k}=#{v.inspect}" }.join(" ") end $stderr.puts("[DEBUG] #{message}") end end end end
Version data entries
33 entries across 33 versions & 1 rubygems