Class: RubocopChallenger::Rubocop::Challenge

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop_challenger/rubocop/challenge.rb

Overview

To execute Rubocop Challenge flow

Class Method Summary collapse

Class Method Details

.exec(file_path:, mode:, only_safe_autocorrect:) ⇒ Object



7
8
9
# File 'lib/rubocop_challenger/rubocop/challenge.rb', line 7

def self.exec(file_path:, mode:, only_safe_autocorrect:)
  new(file_path, mode, only_safe_autocorrect).send(:exec)
end