From 10ee38b6bc0b3a2dcb9a52dc4ef80de95e03eb9a Mon Sep 17 00:00:00 2001 From: sonots Date: Fri, 26 May 2017 06:42:11 +0000 Subject: * lib/uri/common.rb: [DOC] add rdoc to describe URI.unescape is obsolete [ci-skip] [fix GH-1630] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/uri') diff --git a/lib/uri/common.rb b/lib/uri/common.rb index ec85bbc1e7..74bbdea0a4 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -114,6 +114,12 @@ module URI # +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' -- cgit v1.2.3