# encoding: utf-8 module LocalPac class PacFileValidator def valid?(file) PAC.source(file.content) true rescue false end end end