class DaimonSkycrawlers::Commands::Runner
@private
Public Instance Methods
crawler()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 13 def crawler load_init load_crawlers require(File.expand_path("app/crawler.rb", Dir.pwd)) DaimonSkycrawlers::Crawler.run rescue => ex puts ex.message exit(false) end
processor()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 24 def processor load_init load_processors require(File.expand_path("app/processor.rb", Dir.pwd)) DaimonSkycrawlers::Processor.run rescue => ex puts ex.message exit(false) end
Private Instance Methods
load_crawlers()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 40 def load_crawlers DaimonSkycrawlers.load_crawlers end
load_init()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 36 def load_init DaimonSkycrawlers.load_init end
load_processors()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 44 def load_processors DaimonSkycrawlers.load_processors end
log()
click to toggle source
# File lib/daimon_skycrawlers/commands/runner.rb, line 48 def log DaimonSkycrawlers.configuration.logger end