Class: KnapsackPro::Runners::BaseRunner
- Inherits:
-
Object
- Object
- KnapsackPro::Runners::BaseRunner
show all
- Defined in:
- lib/knapsack_pro/runners/base_runner.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(adapter_class) ⇒ BaseRunner
8
9
10
11
|
# File 'lib/knapsack_pro/runners/base_runner.rb', line 8
def initialize(adapter_class)
@allocator_builder = KnapsackPro::AllocatorBuilder.new(adapter_class)
@allocator = allocator_builder.allocator
end
|
Class Method Details
.run(args) ⇒ Object
4
5
6
|
# File 'lib/knapsack_pro/runners/base_runner.rb', line 4
def self.run(args)
raise NotImplementedError
end
|
Instance Method Details
#stringify_test_file_paths ⇒ Object
#test_dir ⇒ Object
21
22
23
|
# File 'lib/knapsack_pro/runners/base_runner.rb', line 21
def test_dir
allocator_builder.test_dir
end
|
#test_file_paths ⇒ Object
13
14
15
|
# File 'lib/knapsack_pro/runners/base_runner.rb', line 13
def test_file_paths
allocator.test_file_paths
end
|