Method: Wgit::Base.mode

Defined in:
lib/wgit/base.rb

.mode(method) ⇒ Object

Sets the crawl/index method to call when Base.run is called. The mode method must match one defined in the Wgit::Crawler or Wgit::Indexer class.



35
36
37
# File 'lib/wgit/base.rb', line 35

def self.mode(method)
  @method = method
end