class KnapsackPro::TestFilePresenter

Public Class Methods

paths(test_files) click to toggle source
# File lib/knapsack_pro/test_file_presenter.rb, line 12
def self.paths(test_files)
  test_files.map { |t| t['path'] }
end
stringify_paths(test_file_paths) click to toggle source
# File lib/knapsack_pro/test_file_presenter.rb, line 5
def self.stringify_paths(test_file_paths)
  test_file_paths
  .map do |test_file|
    %{"#{test_file}"}
  end.join(' ')
end