# File lib/net/ldap.rb, line 989 989: def delete args 990: if @open_connection 991: @result = @open_connection.delete( args ) 992: else 993: @result = 0 994: conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption ) 995: if (@result = conn.bind( args[:auth] || @auth )) == 0 996: @result = conn.delete( args ) 997: end 998: conn.close 999: end 1000: @result == 0 1001: end