# File lib/ramaze/helper/xhtml.rb, line 25 def js(name) if name =~ /^http/ # consider it external full url SCRIPT_TAG % name else SCRIPT_TAG % "#{Ramaze.options.prefix.chomp("/")}/js/#{name}.js" end end