Module: ChurnVsComplexity::Delta::Factory
- Defined in:
- lib/churn_vs_complexity/delta/factory.rb
Class Method Summary collapse
- .complexity_validator ⇒ Object
- .engine(cache_components:, language:, excluded:, files:) ⇒ Object
- .git_strategy(folder:) ⇒ Object
- .worktree(root_folder:, git_strategy:, data_isolation_id:) ⇒ Object
Class Method Details
.complexity_validator ⇒ Object
6 |
# File 'lib/churn_vs_complexity/delta/factory.rb', line 6 def self.complexity_validator = ComplexityValidator |
.engine(cache_components:, language:, excluded:, files:) ⇒ Object
17 18 19 |
# File 'lib/churn_vs_complexity/delta/factory.rb', line 17 def self.engine(cache_components:, language:, excluded:, files:) Delta.engine(cache_components:, language:, excluded:, files:) end |
.git_strategy(folder:) ⇒ Object
7 |
# File 'lib/churn_vs_complexity/delta/factory.rb', line 7 def self.git_strategy(folder:) = GitStrategy.new(folder:) |
.worktree(root_folder:, git_strategy:, data_isolation_id:) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/churn_vs_complexity/delta/factory.rb', line 9 def self.worktree(root_folder:, git_strategy:, data_isolation_id:) Timetravel::Worktree.new( root_folder:, git_strategy:, number: data_isolation_id, ) end |