summaryrefslogtreecommitdiff
path: root/lib/uri/common.rb
diff options
context:
space:
mode:
authorsonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-26 06:42:11 +0000
committersonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-26 06:42:11 +0000
commit10ee38b6bc0b3a2dcb9a52dc4ef80de95e03eb9a (patch)
treedbdd6036e2f26ca0961bd739746a560ab1a9d6d4 /lib/uri/common.rb
parentc854fde373bf5f08c8a906e2bad00b6ed4d80ffc (diff)
* 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
Diffstat (limited to 'lib/uri/common.rb')
-rw-r--r--lib/uri/common.rb6
1 files changed, 6 insertions, 0 deletions
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'