Class: Ruboty::Handlers::CrawlManager

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/ruboty/handlers/ymcrawl.rb

Instance Method Summary collapse

Constructor Details

#initializeCrawlManager

Returns a new instance of CrawlManager.



9
10
11
# File 'lib/ruboty/handlers/ymcrawl.rb', line 9

def initialize
  @crawl = nil
end

Instance Method Details

#get_crawlObject



13
14
15
16
# File 'lib/ruboty/handlers/ymcrawl.rb', line 13

def get_crawl
  @crawl = Ruboty::YMCrawl::Core.new if @crawl == nil
  @crawl
end