diff --git a/lib/uri/file.rb b/lib/uri/file.rb index 03375dd2cc..ffdd4aaa02 100644 --- a/lib/uri/file.rb +++ b/lib/uri/file.rb @@ -33,9 +33,6 @@ module URI # If an Array is used, the components must be passed in the # order [host, path]. # - # If the path supplied is absolute, it will be escaped in order to - # make it absolute in the URI. - # # Examples: # # require 'uri' @@ -44,7 +41,7 @@ module URI # uri1.to_s # => "file://host.example.com/path/file.zip" # # uri2 = URI::File.build({:host => 'host.example.com', - # :path => 'ruby/src'}) + # :path => '/ruby/src'}) # uri2.to_s # => "file://host.example.com/ruby/src" # def self.build(args)