Class: Integration::Reek

Inherits:
Base
  • Object
show all
Defined in:
lib/integrations/reek.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #pronto_enabled?, #pronto_name, #run_with_config_handling_exit

Constructor Details

This class inherits a constructor from Integration::Base

Instance Method Details

#run_with(config) ⇒ Object



7
8
9
10
11
# File 'lib/integrations/reek.rb', line 7

def run_with(config)
  args = ['.']
  Keepclean.logger.debug "Running with args: #{args.inspect}"
  ::Reek::CLI::Application.new(args).execute == 0
end