Method: Generators::HTMLPuppetPlugin#http_url
- Defined in:
- lib/puppet/util/rdoc/generators/puppet_generator.rb
#http_url(full_name, prefix) ⇒ Object
return the relative file name to store this class in, which is also its url
732 733 734 735 736 |
# File 'lib/puppet/util/rdoc/generators/puppet_generator.rb', line 732 def http_url(full_name, prefix) path = full_name.dup path.gsub!(/<<\s*(\w*)/) { "from-#$1" } if path['<<'] File.join(prefix, path.split("::")) + ".html" end |