diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-17 19:49:51 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-17 19:49:51 +0000 |
commit | ed510458b3584f2458fe8dff6bf475e422bfa429 (patch) | |
tree | 616d33df11f913e5f26058a5a516428c61bbc01b /lib | |
parent | 6a2b454b97f37385a3383bfb4b43af0440d6173e (diff) | |
download | ruby-ed510458b3584f2458fe8dff6bf475e422bfa429.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/ldap.rb | 6 |
1 files 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 |