class Bundler::Env

def self.append_formatted_table(title, pairs, out)

def self.append_formatted_table(title, pairs, out)
  return if pairs.empty?
  out << "\n" unless out.empty?
  out << "## #{title}\n\n```\n"
  ljust = pairs.map {|k, _v| k.to_s.length }.max
  pairs.each do |k, v|
    out << "#{k.to_s.ljust(ljust)}  #{v}\n"
  end
  out << "```\n"
end