# File lib/juicer/asset/path.rb, line 189 def rebase(base_path) path = Pathname.new(filename).relative_path_from(Pathname.new(base_path)).to_s Juicer::Asset::Path.new(path, :base => base_path, :hosts => hosts, :document_root => document_root) end