Parent

Methods

Class/Module Index [+]

Quicksearch

YARD::Templates::Helpers::Markup::RDocMarkup::RDocMarkup

Constants

MARKUP

Attributes

from_path[RW]

Public Class Methods

new(text) click to toggle source
# File lib/yard/templates/helpers/markup/rdoc_markup.rb, line 25
def initialize(text)
  @text = text
  @markup = MARKUP.new
end

Public Instance Methods

to_html() click to toggle source
# File lib/yard/templates/helpers/markup/rdoc_markup.rb, line 30
def to_html
  formatter = RDocMarkupToHtml.new
  formatter.from_path = from_path
  html = @markup.convert(@text, formatter)
  html = fix_dash_dash(html)
  html = fix_typewriter(html)
  html
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.