lib/wmap/domain_tracker.rb
# 'setter' to remove entry from the cache one at a time
'setter' to remove entry from the cache one at a time
' setter ' to remove entry from the cache one at a time
def delete(domain)
		puts "Remove entry from the domains cache table: #{domain} " if @verbose
		domain=domain.strip.downcase
		if @known_internet_domains.key?(domain)
			@known_internet_domains.delete(domain)
			puts "Entry cleared: #{domain}"
			return domain
		else
			puts "Entry not fund. Skipping: #{domain}"
		end
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}" if @verbose
	end
def delete ( domain ) puts "Remove entry from the domains cache table: #{domain} " if @verbose domain = domain . strip . downcase if @known_internet_domains . key? ( domain ) @known_internet_domains . delete ( domain ) puts "Entry cleared: #{domain}" return domain else puts "Entry not fund. Skipping: #{domain}" end rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose end
'setter' to remove entry from the cache one at a time
' setter ' to remove entry from the cache one at a time
domain
<not_specific>