class AbrtProxy::Plugin

Private Instance Methods

check_file(conf_sym) click to toggle source
# File lib/smart_proxy_abrt/abrt_plugin.rb, line 21
def check_file(conf_sym)
  path = settings.send(conf_sym)
  unless (path.to_s.empty? or File.exist?(path))
    logger.error "Cannot find #{conf_sym} file #{path}"
  end
end