class RDoc::RI::Driver

def add_extension_modules_multiple(out, store, modules) # :nodoc:

:nodoc:
def add_extension_modules_multiple(out, store, modules) # :nodoc:
  out << RDoc::Markup::Paragraph.new("(from #{store.friendly_path})")
  wout, with = modules.partition { |incl| incl.comment.empty? }
  out << RDoc::Markup::BlankLine.new unless with.empty?
  with.each do |incl|
    out << RDoc::Markup::Paragraph.new(incl.name)
    out << RDoc::Markup::BlankLine.new
    out << incl.comment.parse
  end
  unless wout.empty? then
    verb = RDoc::Markup::Verbatim.new
    wout.each do |incl|
      verb.push incl.name, "\n"
    end
    out << verb
  end
end