method
handle_RDOCLINK
v2_2_9 -
Show latest stable
- Class:
RDoc::Markup::ToHtml
handle_RDOCLINK(url)public
No documentation available.
# File lib/rdoc/markup/to_html.rb, line 68
def handle_RDOCLINK url # :nodoc:
case url
when /^rdoc-ref:/
$'
when /^rdoc-label:/
text = $'
text = case text
when /\Alabel-/ then $'
when /\Afootmark-/ then $'
when /\Afoottext-/ then $'
else text
end
gen_url url, text
when /^rdoc-image:/
"<img src=\"#{$'}\">"
else
url =~ /\Ardoc-[a-z]+:/
$'
end
end