Sha256: 503639ec867afe1dbe572f826b26c571f8d229339c70d4481eabbd5a3afa4103
Contents?: true
Size: 441 Bytes
Versions: 3
Compression:
Stored size: 441 Bytes
Contents
# -*- encoding: utf-8 -*- module Webgen::ContentProcessor # Converts content in RDoc markup (the native Ruby documentation format) to HTML. Needs the newer # RDoc implementation provided as +rdoc+ gem! class RDoc # Convert the content in RDoc markup to HTML. def call(context) require 'rdoc/markup/to_html' context.content = ::RDoc::Markup::ToHtml.new.convert(context.content) context end end end
Version data entries
3 entries across 3 versions & 3 rubygems