Skip to content

Commit 28efead

Browse files
author
blackhedd
committed
Added LDAP#modify_rdn as a synonym for LDAP#rename.
1 parent ee488f9 commit 28efead

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/net/ldap.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ def rename args
305305
@result == 0
306306
end
307307

308+
# modify_rdn is an alias for rename.
309+
def modify_rdn args
310+
rename args
311+
end
312+
308313
end # class LDAP
309314

310315

0 commit comments

Comments
 (0)