Sha256: 2d1912c41115254475366b2a5e9cd7a1030135e9aa35e4ed8566d8c7035de691

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

#
# RDOC
#
Comatose::TextFilters.define :rdoc, "RDoc" do
  require 'rdoc/markup/simple_markup'
  require 'rdoc/markup/simple_markup/to_html'

  def render_text(text)
    p = SM::SimpleMarkup.new
    h = SM::ToHtml.new
    p.convert(text, h)  
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 lib/text_filters/rdoc.rb
comatose-rubyisbeautiful-3.0.4 lib/text_filters/rdoc.rb
comatose-rubyisbeautiful-3.0.3 lib/text_filters/rdoc.rb
comatose-rubyisbeautiful-3.0.2 lib/text_filters/rdoc.rb
comatose-rubyisbeautiful-3.0.1 lib/text_filters/rdoc.rb
comatose-rubyisbeautiful-3.0.0 lib/text_filters/rdoc.rb