lib/github/markup/rdoc.rb (view raw)
1require "rdoc/markup/to_html" 2 3module GitHub 4 module Markup 5 class RDoc 6 def initialize(content) 7 @content = content 8 end 9 10 def to_html 11 h = ::RDoc::Markup::ToHtml.new 12 h.convert(@content) 13 end 14 end 15 end 16end