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
  options = @store.rdoc.options
  this = RDoc::Context === self ? self : @parent
  @formatter = RDoc::Markup::ToHtmlCrossref.new options, this.path, this
  @formatter.code_object = self
  @formatter
end