class Berkshelf::InvalidConfiguration
def initialize(errors)
def initialize(errors) @errors = errors end
def to_s
def to_s out = "Invalid configuration:\n" @errors.each do |key, errors| errors.each do |error| out << " #{key} #{error}\n" end end out.strip end