Adds a list of extensions to this module of the given
type to out. add_includes and add_extends call this, so you
should use those directly.
# File lib/rdoc/ri/driver.rb, line 461
def add_extension_modules out, type, extensions
return if extensions.empty?
out << RDoc::Markup::Rule.new(1)
out << RDoc::Markup::Heading.new(1, "#{type}:")
extensions.each do |modules, store|
if modules.length == 1 then
add_extension_modules_single out, store, modules.first
else
add_extension_modules_multiple out, store, modules
end
end
end