Sha256: cf99b37434f2556db608942188236b8239e325fc31ee88fdbc2cc53339a9e4a6
Contents?: true
Size: 483 Bytes
Versions: 17
Compression:
Stored size: 483 Bytes
Contents
module Retest class Command class Ruby attr_reader :all, :file_system def initialize(all:, file_system: FileSystem) @file_system = file_system @all = all end def format_batch(*files) %Q{-e "#{files.map { |file| "require './#{file}';" }.join}"} end def to_s if file_system.exist? 'Gemfile.lock' 'bundle exec ruby <test>' else 'ruby <test>' end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems