aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri/common.rb')
-rw-r--r--lib/uri/common.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index db53872fec..a8786b01f5 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -290,7 +290,8 @@ module URI
#
# == Description
#
- # constructs a safe String from +str+, removing unsafe characters, replacing them with codes.
+ # constructs a safe String from +str+, removing unsafe characters,
+ # replacing them with codes.
#
def escape(str, unsafe = @regexp[:UNSAFE])
unless unsafe.kind_of?(Regexp)