lib/wmap/site_tracker.rb
# 'Refresh unique sites in the site store only
'Refresh unique sites in the site store only
' Refresh unique sites in the site store only
def refresh_uniq_sites
		puts "Refresh unique site entries in the site store. " if @verbose
		changes=Hash.new
		sites=get_uniq_sites
		if sites.size > 0
			changes=bulk_refresh(sites)
		else
			puts "Error: no entry is refreshed. Please check your site store and try again."
		end
		return changes
	rescue => ee
		puts "Exception on method #{__method__}: #{ee}" if @verbose
	end
def refresh_uniq_sites puts "Refresh unique site entries in the site store. " if @verbose changes = Hash . new sites = get_uniq_sites if sites . size > 0 changes = bulk_refresh ( sites ) else puts "Error: no entry is refreshed. Please check your site store and try again." end return changes rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose end
'Refresh unique sites in the site store only
' Refresh unique sites in the site store only