From ed510458b3584f2458fe8dff6bf475e422bfa429 Mon Sep 17 00:00:00 2001 From: stomar Date: Tue, 17 Apr 2018 19:49:51 +0000 Subject: [PATCH] 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 --- lib/uri/ldap.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb index 4345875e28..f7468a143a 100644 --- a/lib/uri/ldap.rb +++ b/lib/uri/ldap.rb @@ -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