Method: RDocF95::Generator::MarkUp#cvs_url
- Defined in:
- lib/rdoc-f95/generator.rb
#cvs_url(url, full_path) ⇒ Object
Build a webcvs URL with the given ‘url’ argument. URLs with a ‘%s’ in them get the file’s path sprintfed into them; otherwise they’re just catenated together.
137 138 139 140 141 142 143 |
# File 'lib/rdoc-f95/generator.rb', line 137 def cvs_url(url, full_path) if /%s/ =~ url return sprintf( url, full_path ) else return url + full_path end end |