lib/wmap.rb
# Search the site repository for all entries that match the pattern
Search the site repository for all entries that match the pattern
Search the site repository for all entries that match the pattern
def search(pattern)
		searcher=Wmap::SiteTracker.instance
    if @data_dir
      searcher.data_dir = @data_dir
      searcher.sites_file = searcher.data_dir + "/" + "sites"
      searcher.load_site_stores_from_file(searcher.sites_file)
    end
		searcher.search(pattern)
	end
def search ( pattern ) searcher = Wmap :: SiteTracker . instance if @data_dir searcher . data_dir = @data_dir searcher . sites_file = searcher . data_dir + "/" + "sites" searcher . load_site_stores_from_file ( searcher . sites_file ) end searcher . search ( pattern ) end
Search the site repository for all entries that match the pattern
Search the site repository for all entries that match the pattern
pattern
<not_specific>