Added parens around args for rename.

This commit is contained in:
David J. Lee 2012-02-24 15:19:18 -06:00 committed by David Lee
parent 9a9d5f0742
commit 9fa0b982b7

View file

@ -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