! Reference to self fixed
This commit is contained in:
parent
cd866c0109
commit
ee58580a53
|
@ -496,7 +496,7 @@ class Net::LDAP
|
||||||
# ldap.modify(...)
|
# ldap.modify(...)
|
||||||
# end
|
# end
|
||||||
def self.open(args)
|
def self.open(args)
|
||||||
ldap1 = LDAP.new(args)
|
ldap1 = new(args)
|
||||||
ldap1.open { |ldap| yield ldap }
|
ldap1.open { |ldap| yield ldap }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue