Sha256: 0f4ac46cdb3283211cc03ee4f11365d281ca3a54d459236016a6a3b0133b699a
Contents?: true
Size: 487 Bytes
Versions: 21
Compression:
Stored size: 487 Bytes
Contents
require "github/markup/implementation" require "rdoc" require "rdoc/markup/to_html" module GitHub module Markup class RDoc < Implementation def initialize super /rdoc/ end def render(content) 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 def name "rdoc" end end end end
Version data entries
21 entries across 21 versions & 2 rubygems