bundler/lib/bundler/resolver.rb
# Conveys debug information to the user.
#
# @param [Integer] depth the current depth of the resolution process.
# @return [void]
Conveys debug information to the user.
Conveys debug information to the user .
def debug(depth = 0)
      return unless debug?
      debug_info = yield
      debug_info = debug_info.inspect unless debug_info.is_a?(String)
      puts debug_info.split("\n").map {|s| depth == 0 ? "BUNDLER: #{s}" : "BUNDLER(#{depth}): #{s}" }
    end
def debug ( depth = 0 ) return unless debug? debug_info = yield debug_info = debug_info . inspect unless debug_info . is_a? ( String ) puts debug_info . split ( "\n" ) . map { | s | depth == 0 ? "BUNDLER: #{s}" : "BUNDLER(#{depth}): #{s}" } end
Conveys debug information to the user.
Conveys debug information to the user .
None
void
depth
<not_specific>
<not_specific>
depth the current depth of the resolution process.
depth the current depth of the resolution process .