class RDoc::RI::Driver

def add_method_list out, methods, name

def add_method_list out, methods, name
  return unless methods
  out << RDoc::Markup::Heading.new(1, "#{name}:")
  out << RDoc::Markup::BlankLine.new
  out.push(*methods.map do |method|
    RDoc::Markup::Verbatim.new '  ', method
  end)
  out << RDoc::Markup::BlankLine.new
end