Class: GitHub::Markup::RDoc
- Inherits:
-
Object
- Object
- GitHub::Markup::RDoc
- Defined in:
- lib/vandamme/monkey_patch_markup.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/vandamme/monkey_patch_markup.rb', line 7 def to_html if Gem::Version.new(::RDoc::VERSION) < Gem::Version.new('4.0.0') h = ::RDoc::Markup::ToHtml.new else h = ::RDoc::Markup::ToHtml.new(::RDoc::Options.new) end h.convert(@content) end |