Handle common RDoc::Markup tasks for various CodeObjects
Methods
- A
- C
- D
- F
Instance Public methods
aref_to(target_path)
Link
Generates a relative URL from this object's path to
target_path
as_href(from_path)
Link
Generates a relative URL from from_path
to this object's
path
cvs_url(url, full_path)
Link
Build a webcvs URL starting for the given url
with
full_path
appended as the destination path. If
url
contains '%s' full_path
will be
sprintf'd into url
instead.
description()
Link
Handy wrapper for marking up this object's comment
formatter()
Link
Creates an RDoc::Markup::ToHtmlCrossref formatter
# File ../ruby/lib/rdoc/generator/markup.rb, line 39 def formatter return @formatter if defined? @formatter show_hash = RDoc::RDoc.current.options.show_hash hyperlink_all = RDoc::RDoc.current.options.hyperlink_all this = RDoc::Context === self ? self : @parent @formatter = RDoc::Markup::ToHtmlCrossref.new(this.path, this, show_hash, hyperlink_all) end