Class: Ruboty::Handlers::CrawlManager
- Inherits:
-
Object
- Object
- Ruboty::Handlers::CrawlManager
- Includes:
- Singleton
- Defined in:
- lib/ruboty/handlers/ymcrawl.rb
Instance Method Summary collapse
- #get_crawl ⇒ Object
-
#initialize ⇒ CrawlManager
constructor
A new instance of CrawlManager.
Constructor Details
#initialize ⇒ CrawlManager
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_crawl ⇒ Object
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 |