Sha256: 973b36a870c438f27d08613d75d34c286c04fd627b678c409786b179ff9a49a6
Contents?: true
Size: 447 Bytes
Versions: 15
Compression:
Stored size: 447 Bytes
Contents
module AnswersEngine module Scraper class Seeder def self.exec_seeder(filename, job_id=nil, save=false) extname = File.extname(filename) case extname when '.rb' executor = RubySeederExecutor.new(filename: filename, job_id: job_id) executor.exec_seeder(save) else puts "Unable to find a seeder executor for file type \"#{extname}\"" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems