# File lib/sinatra/sugar.rb, line 39 def root_path(*args) relative = File.join(*args) return relative if relative.expand_path == relative root.expand_path / relative end