module RDoc::Generator::Markup

def aref_to(target_path)

def aref_to(target_path)
  RDoc::Markup::ToHtml.gen_relative_url path, target_path
end

def as_href(from_path)

def as_href(from_path)
  RDoc::Markup::ToHtml.gen_relative_url from_path, path
end

def cvs_url(url, full_path)

def cvs_url(url, full_path)
  if /%s/ =~ url then
    sprintf url, full_path
  else
    url + full_path
  end
end

def description

def description
  markup @comment
end

def formatter

def formatter
  return @formatter if defined? @formatter
  show_hash = RDoc::RDoc.current.options.show_hash
  this = RDoc::Context === self ? self : @parent
  @formatter = RDoc::Markup::ToHtmlCrossref.new this.path, this, show_hash
end