Class: CleoQualityReview::Runner::Dependencies
- Inherits:
-
Struct
- Object
- Struct
- CleoQualityReview::Runner::Dependencies
- Defined in:
- lib/cleo_quality_review/runner.rb
Overview
Runtime collaborators for a quality review run
Instance Attribute Summary collapse
-
#base_resolver ⇒ Object
Returns the value of attribute base_resolver.
-
#check_registry ⇒ Object
Returns the value of attribute check_registry.
-
#clock ⇒ Object
Returns the value of attribute clock.
-
#command_runner ⇒ Object
Returns the value of attribute command_runner.
-
#executor ⇒ Object
Returns the value of attribute executor.
Class Method Summary collapse
Instance Attribute Details
#base_resolver ⇒ Object
Returns the value of attribute base_resolver
41 42 43 |
# File 'lib/cleo_quality_review/runner.rb', line 41 def base_resolver @base_resolver end |
#check_registry ⇒ Object
Returns the value of attribute check_registry
41 42 43 |
# File 'lib/cleo_quality_review/runner.rb', line 41 def check_registry @check_registry end |
#clock ⇒ Object
Returns the value of attribute clock
41 42 43 |
# File 'lib/cleo_quality_review/runner.rb', line 41 def clock @clock end |
#command_runner ⇒ Object
Returns the value of attribute command_runner
41 42 43 |
# File 'lib/cleo_quality_review/runner.rb', line 41 def command_runner @command_runner end |
#executor ⇒ Object
Returns the value of attribute executor
41 42 43 |
# File 'lib/cleo_quality_review/runner.rb', line 41 def executor @executor end |
Class Method Details
.for(options, overrides) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/cleo_quality_review/runner.rb', line 42 def self.for(, overrides) new( **{ command_runner: CommandRunner.new, clock: Time, check_registry: Checks, base_resolver: nil, executor: ConcurrentExecutor.new(max_workers: .jobs), }.merge(overrides), ) end |