Basically just a wrapper around ERB. Should probably use RDoc::TemplatePage instead
# File rdoc/generator/texinfo.rb, line 64 def href(location, text) text # TODO: how does texinfo do hyperlinks? end
TODO: this is probably implemented elsewhere?
# File rdoc/generator/texinfo.rb, line 73 def method_prefix(section) { 'Class' => '.', 'Module' => '::', 'Instance' => '#', }[section['category']] end
Go!
# File rdoc/generator/texinfo.rb, line 60 def render ERB.new(template).result binding end