From 13e474f035aa7cc2ee8a1da177137d05eeec5e3b Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 20 Oct 2016 08:03:01 +0000 Subject: * lib/uri/common.rb: added documentation for deprecated method. [Misc #11960][ruby-core:72733][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/uri/common.rb | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index e511f497d8..4bc1dd4931 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 20 17:02:56 2016 SHIBATA Hiroshi + + * lib/uri/common.rb: added documentation for deprecated method. + [Misc #11960][ruby-core:72733][ci skip] + Thu Oct 20 16:57:23 2016 SHIBATA Hiroshi * ext/digest/digest.c: Add documentation for Digest. diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 3fb1a6dbda..48bf6970de 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -81,6 +81,10 @@ module URI # # Escapes the string, replacing all unsafe characters with codes. # + # This method is obsolete and should not be used. Instead, use + # CGI.escape, URI.www_form_encode or URI.www_form_encode_component + # depending on your specific use case. + # # == Usage # # require 'uri' -- cgit v1.2.3