From 9fa0b982b713e50a9fa0429a42cfe1d874ceb2bb Mon Sep 17 00:00:00 2001 From: "David J. Lee" Date: Fri, 24 Feb 2012 15:19:18 -0600 Subject: [PATCH] Added parens around args for rename. --- lib/net/ldap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index d9ad70c..e0e9cab 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -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