Method: Wmap::SiteTracker::DeactivatedSite#delete
- Defined in:
- lib/wmap/site_tracker/deactivated_site.rb
#delete(site) ⇒ Object
Refresh re-activated entrance in the store. Note this method is used by the parent class only
56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/wmap/site_tracker/deactivated_site.rb', line 56 def delete (site) begin puts "Reactivate site: #{site}" if @verbose site=site.strip.downcase unless site.nil? @known_sites.delete(site) puts "Site removed from the de-activated list." rescue Exception => ee puts "Exception on method #{__method__}: #{ee}" if @verbose return nil end end |