Object
Converts content in RDoc markup (the native Ruby documentation format) to HTML. Needs the newer RDoc implementation provided as rdoc gem!
Convert the content in RDoc markup to HTML.
# File lib/webgen/contentprocessor/rdoc.rb, line 9 def call(context) require 'rdoc/markup/to_html' context.content = ::RDoc::Markup::ToHtml.new.convert(context.content) context rescue LoadError raise Webgen::LoadError.new('rdoc/markup/to_html', self.class.name, context.dest_node, 'rdoc') end
Generated with the Darkfish Rdoc Generator 2.