Class: KnapsackPro::TestFilePresenter

Inherits:
Object
  • Object
show all
Defined in:
lib/knapsack_pro/test_file_presenter.rb

Class Method Summary collapse

Class Method Details

.paths(test_files) ⇒ Object



7
8
9
# File 'lib/knapsack_pro/test_file_presenter.rb', line 7

def self.paths(test_files)
  test_files.map { |t| t['path'] }
end

.stringify_paths(test_file_paths) ⇒ Object



3
4
5
# File 'lib/knapsack_pro/test_file_presenter.rb', line 3

def self.stringify_paths(test_file_paths)
  test_file_paths.join(' ')
end