Skip to content

Commit b54d7b1

Browse files
Ability to pass verbose flag while initiating net-ldap
1 parent 0fe7f68 commit b54d7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def initialize(args = {})
547547
@host = args[:host] || DefaultHost
548548
@port = args[:port] || DefaultPort
549549
@hosts = args[:hosts]
550-
@verbose = false # Make this configurable with a switch on the class.
550+
@verbose = args[:verbose] || false # Make this configurable with a switch on the class.
551551
@auth = args[:auth] || DefaultAuth
552552
@base = args[:base] || DefaultTreebase
553553
@force_no_page = args[:force_no_page] || DefaultForceNoPage

0 commit comments

Comments
 (0)