Method: MiddleSquid::Indexer#initialize
- Defined in:
- lib/middle_squid/indexer.rb
#initialize ⇒ Indexer
Returns a new instance of Indexer.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/middle_squid/indexer.rb', line 20 def initialize @append = false @entries = [:url, :domain] @full_index = true @quiet = false @aliases = {} @cats_in_use = [] @indexed_cats = [] @total = { :url => 0, :domain => 0, :ignored => 0, :duplicate => 0, } end |