From: "robertgleeson (Robert Gleeson)" Date: 2013-11-19T21:10:10+09:00 Subject: [ruby-core:58430] [Backport 200 - Backport #9127][Open] URI::Generic#normalize documentation is vague. Issue #9127 has been reported by robertgleeson (Robert Gleeson). ---------------------------------------- Backport #9127: URI::Generic#normalize documentation is vague. https://bugs.ruby-lang.org/issues/9127 Author: robertgleeson (Robert Gleeson) Status: Open Priority: Low Assignee: Category: Target version: the documentation for `URI::Generic#normalize` is vague and does not provide enough details about the algorithm that applies normalization. the documentation says, "Returns normalized URI" and nothing more. I would have expected a short piece that explains how normalization is applied. pry session attached (ruby = v2.0.0) $ pry [1] pry(main)> require "uri" => true [2] pry(main)> uri = URI.parse("http://www.ruby-lang.org") => # [3] pry(main)> ? uri.normalize From: /Users/robert/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/uri/generic.rb @ line 1418: Owner: URI::Generic Visibility: public Signature: normalize() Number of lines: 2 Returns normalized URI -- http://bugs.ruby-lang.org/