lib/wmap/domain_tracker.rb
# 'setter' to delete domain entry to the cache in batch (from a list)
'setter' to delete domain entry to the cache in batch (from a list)
' setter ' to delete domain entry to the cache in batch ( from a list )
def bulk_delete(list)
		puts "Delete entries to the local domains cache table from list: #{list}" if @verbose
		domains=list
		changes=Array.new
		if domains.size > 0
			domains.map do |x|
				domain=delete(x)
				changes.push(domain) unless domain.nil?
			end
			puts "Done deleting domains from list: #{list}"
			return changes
		else
			puts "Exception on method bulk_delete: no entry is loaded. Please check your list and try again."
		end
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}" if @verbose
	end
def bulk_delete ( list ) puts "Delete entries to the local domains cache table from list: #{list}" if @verbose domains = list changes = Array . new if domains . size > 0 domains . map do | x | domain = delete ( x ) changes . push ( domain ) unless domain . nil? end puts "Done deleting domains from list: #{list}" return changes else puts "Exception on method bulk_delete: no entry is loaded. Please check your list and try again." end rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose end
'setter' to delete domain entry to the cache in batch (from a list)
' setter ' to delete domain entry to the cache in batch ( from a list )
list
<not_specific>