summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-17 13:07:46 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-17 13:07:46 +0000
commit3a14b03b3e78d046a805634bb51adda19b7530f0 (patch)
treeb46d71809062d243a9f112ff1da1f8cd54f708a9 /lib
parent0c01821d4396d4d552311fcdf0ecdba56bf80617 (diff)
* lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/uri.rb5
-rw-r--r--lib/uri/common.rb4
-rw-r--r--lib/uri/ldap.rb6
3 files changed, 8 insertions, 7 deletions
diff --git a/lib/uri.rb b/lib/uri.rb
index ec9a18cd31..09c4f5fbcf 100644
--- a/lib/uri.rb
+++ b/lib/uri.rb
@@ -1,6 +1,4 @@
#
-# = uri.rb
-#
# URI support for Ruby
#
# Author:: Akira Yamada <akira@ruby-lang.org>
@@ -14,8 +12,11 @@
#
module URI
+ # :stopdoc:
VERSION_CODE = '000911'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
+ # :startdoc:
+
end
require 'uri/common'
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