Module: Codnar::RDoc

Defined in:
lib/codnar/rdoc.rb

Overview

Convert RDoc to HTML.

Class Method Summary collapse

Class Method Details

.to_html(rdoc) ⇒ Object

Process a RDoc String and return the resulting HTML.



7
8
9
# File 'lib/codnar/rdoc.rb', line 7

def self.to_html(rdoc)
  return ::RDoc::Markup::ToHtml.new.convert(rdoc).clean_markup_html
end