# File lib/structures.rb, line 136 def rewrite_relative_links(text, url) if host = url_host(url) text.to_s.gsub(/(href|src)=('|")\//, '\1=\2http://' + host + '/') else text end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.