aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/common.rb4
-rw-r--r--lib/uri/ldap.rb6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index f5772084e2..1e59c0fa33 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -214,7 +214,7 @@ module URI
# :startdoc:
end # REGEXP
- module Util
+ module Util # :nodoc:
def make_components_hash(klass, array_hash)
tmp = {}
if array_hash.kind_of?(Array) &&
@@ -260,7 +260,7 @@ module URI
# String to replaces in.
# +unsafe+::
# Regexp that matches all symbols that must be replaced with codes.
- # By default uses <tt>REGEXP::SAFE</tt>.
+ # By default uses <tt>REGEXP::UNSAFE</tt>.
#
# == Description
#
diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb
index e75cdc4552..163d2cda24 100644
--- a/lib/uri/ldap.rb
+++ b/lib/uri/ldap.rb
@@ -180,10 +180,10 @@ module URI
set_extensions(val)
val
end
- end
- def hierarchical?
- false
+ def hierarchical?
+ false
+ end
end
@@schemes['LDAP'] = LDAP