self.get

in lib/taste_tester/hooks.rb [70:79]


    def self.get(file)
      path = File.expand_path(file)
      logger.warn("Loading plugin at #{path}") unless TasteTester::Config.json
      unless File.exist?(path)
        logger.error('Plugin file not found')
        exit(1)
      end
      class_eval(File.read(path), path, 1)
    end