mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
15 lines
178 B
Ruby
15 lines
178 B
Ruby
|
require 'rdoc/markup'
|
||
|
|
||
|
class RDoc::Markup::Formatter
|
||
|
|
||
|
def initialize
|
||
|
@markup = RDoc::Markup.new
|
||
|
end
|
||
|
|
||
|
def convert(content)
|
||
|
@markup.convert content, self
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|