Method: Quality::Runner#ratchet_quality_cmd

Defined in:
lib/quality/runner.rb

#ratchet_quality_cmd(cmd, command_options, &count_violations_on_line) ⇒ Object



100
101
102
103
104
105
106
107
108
109
# File 'lib/quality/runner.rb', line 100

def ratchet_quality_cmd(cmd,
                        command_options,
                        &count_violations_on_line)
  quality_checker = @quality_checker_class.new(cmd,
                                               command_options,
                                               @config.output_dir,
                                               @config.verbose,
                                               minimum_threshold_for(cmd))
  quality_checker.execute(&count_violations_on_line)
end