Sha256: b0e1d2ac076178b3f6632c21f54d9acd898d4d57b287a1e356d4ec86726712c6
Contents?: true
Size: 398 Bytes
Versions: 12
Compression:
Stored size: 398 Bytes
Contents
require "rdoc" require "rdoc/markup/to_html" module GitHub module Markup class RDoc def initialize(content) @content = content end def to_html if ::RDoc::VERSION.to_i >= 4 h = ::RDoc::Markup::ToHtml.new(::RDoc::Options.new) else h = ::RDoc::Markup::ToHtml.new end h.convert(@content) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems