class Integration::RailsBestPractices

Public Instance Methods

run_with(config) click to toggle source
# File lib/integrations/rails_best_practices.rb, line 6
def run_with(config)
  args = ['.', { 'silent' => true }]
  Keepclean.logger.debug "Running with args: #{args.inspect}"
  analyzer = ::RailsBestPractices::Analyzer.new(*args)
  analyzer.analyze
  analyzer.output
  analyzer.runner.errors.empty?
end