From 747394bb39c5ecac7d45ef3c2910856a6832de0c Mon Sep 17 00:00:00 2001 From: Steve Hill Date: Sun, 22 Jan 2017 09:25:19 -0800 Subject: [PATCH] Update documentation for URI#escape --- lib/uri/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uri/common.rb b/lib/uri/common.rb index c9ea9c8390..ec85bbc1e7 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -82,7 +82,7 @@ module Escape # 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 + # CGI.escape, URI.encode_www_form or URI.encode_www_form_component # depending on your specific use case. # # == Usage -- 2.11.0