# File lib/addressable/uri.rb, line 1715 def path=(new_path) @path = (new_path || "").to_str if @path != "" && @path[0..0] != "/" && host != nil @path = "/#{@path}" end # Reset dependant values @normalized_path = nil end