ruby-changes:46783
From: sonots <ko1@a...>
Date: Fri, 26 May 2017 15:42:16 +0900 (JST)
Subject: [ruby-changes:46783] sonots:r58899 (trunk): * lib/uri/common.rb: [DOC] add rdoc to describe
sonots 2017-05-26 15:42:11 +0900 (Fri, 26 May 2017) New Revision: 58899 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58899 Log: * lib/uri/common.rb: [DOC] add rdoc to describe URI.unescape is obsolete [ci-skip] [fix GH-1630] Modified files: trunk/lib/uri/common.rb Index: lib/uri/common.rb =================================================================== --- lib/uri/common.rb (revision 58898) +++ lib/uri/common.rb (revision 58899) @@ -114,6 +114,12 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/common.rb#L114 # +str+:: # Unescapes the string. # + # == Description + # + # This method is obsolete and should not be used. Instead, use + # CGI.unescape, URI.decode_www_form or URI.decode_www_form_component + # depending on your specific use case. + # # == Usage # # require 'uri' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/