Added parens around args for rename.

master
David J. Lee 2012-02-24 15:19:18 -06:00 committed by David Lee
parent 9a9d5f0742
commit 9fa0b982b7
1 changed files with 1 additions and 1 deletions

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.
#++
def rename args
def rename(args)
old_dn = args[:olddn] or raise "Unable to rename empty DN"
new_rdn = args[:newrdn] or raise "Unable to rename to empty RDN"
delete_attrs = args[:delete_attributes] ? true : false