mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/uri/ldap.rb: fix errors in docs for URI::LDAP
* lib/uri/ldap.rb: [DOC] fix errors in example code for URI::LDAP.build and URI::LDAP.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6a2b454b97
commit
ed510458b3
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ module URI
|
|||
# Example:
|
||||
#
|
||||
# newuri = URI::LDAP.build({:host => 'ldap.example.com',
|
||||
# :dn> => '/dc=example'})
|
||||
# :dn => '/dc=example'})
|
||||
#
|
||||
# newuri = URI::LDAP.build(["ldap.example.com", nil,
|
||||
# "/dc=example;dc=com", "query", nil, nil, nil])
|
||||
|
@ -100,8 +100,8 @@ module URI
|
|||
#
|
||||
# Example:
|
||||
#
|
||||
# uri = URI::LDAP.new("ldap", nil, "ldap.example.com", nil,
|
||||
# "/dc=example;dc=com", "query", nil, nil, nil, nil)
|
||||
# uri = URI::LDAP.new("ldap", nil, "ldap.example.com", nil, nil,
|
||||
# "/dc=example;dc=com", nil, "query", nil)
|
||||
#
|
||||
#
|
||||
# See also URI::Generic.new
|
||||
|
|
Loading…
Reference in a new issue