Added parens around args for rename.
This commit is contained in:
parent
9a9d5f0742
commit
9fa0b982b7
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ class Net::LDAP::Connection #:nodoc:
|
||||||
#--
|
#--
|
||||||
# TODO: need to support a time limit, in case the server fails to respond.
|
# TODO: need to support a time limit, in case the server fails to respond.
|
||||||
#++
|
#++
|
||||||
def rename args
|
def rename(args)
|
||||||
old_dn = args[:olddn] or raise "Unable to rename empty DN"
|
old_dn = args[:olddn] or raise "Unable to rename empty DN"
|
||||||
new_rdn = args[:newrdn] or raise "Unable to rename to empty RDN"
|
new_rdn = args[:newrdn] or raise "Unable to rename to empty RDN"
|
||||||
delete_attrs = args[:delete_attributes] ? true : false
|
delete_attrs = args[:delete_attributes] ? true : false
|
||||||
|
|
Loading…
Reference in a new issue