Sha256: 370f8286f7071cf908c7020139bb256a9a1fe6e10a7dbdfbd54e6fa145c94772
Contents?: true
Size: 458 Bytes
Versions: 6
Compression:
Stored size: 458 Bytes
Contents
# https://github.com/github/markup/pull/214 require "github/markup/rdoc" module GitHub module Markup class RDoc 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems