lib/wmap/host_tracker.rb
# 'setter' to remove entry from the local hosts one at a time
'setter' to remove entry from the local hosts one at a time
' setter ' to remove entry from the local hosts one at a time
def delete(host)
		puts "Remove entry from the local host repository: #{host} "
		host=host.strip.downcase
		if @known_hosts.key?(host)
			@known_hosts.delete(host)
			puts "Entry cleared."
			return host
		else
			puts "Entry not fund. Skip: #{host}"
		end
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}"
	end
def delete ( host ) puts "Remove entry from the local host repository: #{host} " host = host . strip . downcase if @known_hosts . key? ( host ) @known_hosts . delete ( host ) puts "Entry cleared." return host else puts "Entry not fund. Skip: #{host}" end rescue => ee puts "Exception on method #{__method__}: #{ee}" end
'setter' to remove entry from the local hosts one at a time
' setter ' to remove entry from the local hosts one at a time
host
<not_specific>