Sha256: 8f1a4aa1ed7dc589bec644d64efabb77cc559ecc003c0754e6b2f7d98ca5bfb2
Contents?: true
Size: 414 Bytes
Versions: 11
Compression:
Stored size: 414 Bytes
Contents
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
11 entries across 11 versions & 2 rubygems