Class: RubocopTodoCorrector::GemNamesDetector
- Inherits:
-
Object
- Object
- RubocopTodoCorrector::GemNamesDetector
- Defined in:
- lib/rubocop_todo_corrector/gem_names_detector.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(rubocop_configuration_path:) ⇒ GemNamesDetector
constructor
A new instance of GemNamesDetector.
Constructor Details
#initialize(rubocop_configuration_path:) ⇒ GemNamesDetector
Returns a new instance of GemNamesDetector.
15 16 17 |
# File 'lib/rubocop_todo_corrector/gem_names_detector.rb', line 15 def initialize(rubocop_configuration_path:) @rubocop_configuration_path = rubocop_configuration_path end |
Class Method Details
.call(rubocop_configuration_path:) ⇒ Array<String>
10 11 12 |
# File 'lib/rubocop_todo_corrector/gem_names_detector.rb', line 10 def call(rubocop_configuration_path:) new(rubocop_configuration_path:).call end |
Instance Method Details
#call ⇒ Object
19 20 21 |
# File 'lib/rubocop_todo_corrector/gem_names_detector.rb', line 19 def call gem_names end |