Skip to content

Commit e9a1bf1

Browse files
committed
add initialize docs
1 parent 53cc6b5 commit e9a1bf1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/net/ldap/connection.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ class Net::LDAP::Connection #:nodoc:
66
LdapVersion = 3
77
MaxSaslChallenges = 10
88

9+
# Initialize a connection to an LDAP server
10+
#
11+
# :server
12+
# :hosts Array of tuples specifying host, port
13+
# :host host
14+
# :port port
15+
# :socket prepared socket
16+
#
917
def initialize(server = {})
1018
@server = server
1119
@instrumentation_service = server[:instrumentation_service]

0 commit comments

Comments
 (0)