Permalink
Browse files

Added parens around args for rename.

  • Loading branch information...
DavidJLee authored and djlee2 committed Feb 24, 2012
1 parent 9a9d5f0 commit 9fa0b982b713e50a9fa0429a42cfe1d874ceb2bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/ldap.rb
View
@@ -1542,7 +1542,7 @@ def add(args)
#--
# 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

0 comments on commit 9fa0b98

Please sign in to comment.