Class: Warder::SandiRulesRunner

Inherits:
Runner
  • Object
show all
Defined in:
lib/warder/sandi_rules_runner.rb

Overview

responsible for run Sandi Metz rules validation

Constant Summary collapse

CLI_OPTION =
'r'
CLI_FULL_OPTION =
'sandi-rules'
DESCRIPTION =
'Run Sandi Metz rules validation'
COMMAND_NAME =
'sandi_meter'
FAILURE_REGEXP =
/\d\. (?<percentage>\d+)%/
FAILURE_THRESHOLD =
100

Constants inherited from Runner

Runner::SCORE

Method Summary

Methods inherited from Runner

#initialize, #perform

Constructor Details

This class inherits a constructor from Warder::Runner