Sha256: 73aded78f6dc8344148b2647e3a22194407eafa9be33ab0434d01cc45b7f0a49

Contents?: true

Size: 272 Bytes

Versions: 7

Compression:

Stored size: 272 Bytes

Contents

require "rdoc"
require "rdoc/markup/to_html"

module GitHub
  module Markup
    class RDoc
      def initialize(content)
        @content = content
      end

      def to_html
        h = ::RDoc::Markup::ToHtml.new
        h.convert(@content)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github-markup-1.0.0 lib/github/markup/rdoc.rb
github-markup-0.7.5 lib/github/markup/rdoc.rb
github-markup-0.7.4 lib/github/markup/rdoc.rb
github-markup-0.7.3 lib/github/markup/rdoc.rb
github-markup-0.7.2 lib/github/markup/rdoc.rb
github-markup-0.7.1 lib/github/markup/rdoc.rb
github-markup-0.7.0 lib/github/markup/rdoc.rb