class Rote::Filters::RDoc

Page filter supporting RDoc markup.

Public Class Methods

new(markup = ::RDoc::Markup::ToHtml.new) click to toggle source
# File lib/rote/filters/rdoc.rb, line 19
def initialize(markup = ::RDoc::Markup::ToHtml.new)
  @markup = markup
  self.handler_blk = proc { |text,page| @markup.convert(text) }
end