method
http_url
ruby latest stable - Class:
Generators ::HtmlClass
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
http_url(full_name, prefix)public
return the relative file name to store this class in, which is also its url
# File lib/rdoc/generators/html_generator.rb, line 612
def http_url(full_name, prefix)
path = full_name.dup
if path['<<']
path.gsub!(/<<\s*(\w*)/) { "from-#1ドル" }
end
File.join(prefix, path.split("::")) + ".html"
end