Sha256: 8028afd09565e40fff0e6a58d890e2b38478c61fe554f55407615ed4bb38e3f5
Contents?: true
Size: 494 Bytes
Versions: 15
Compression:
Stored size: 494 Bytes
Contents
module AnswersEngine module Scraper class Parser def self.exec_parser_page(filename, gid, job_id=nil, save=false, vars = {}) extname = File.extname(filename) case extname when '.rb' executor = RubyParserExecutor.new(filename: filename, gid: gid, job_id: job_id, vars: vars) executor.exec_parser(save) else puts "Unable to find a parser executor for file type \"#{extname}\"" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems