# File lib/net/ldap.rb, line 887 887: def modify args 888: if @open_connection 889: @result = @open_connection.modify( args ) 890: else 891: @result = 0 892: conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption ) 893: if (@result = conn.bind( args[:auth] || @auth )) == 0 894: @result = conn.modify( args ) 895: end 896: conn.close 897: end 898: @result == 0 899: end